is this a valid import sequence ?
michele.simionato at gmail.com
Mon Jun 25 14:09:47 CEST 2007
On Jun 25, 1:46 pm, Steven D'Aprano
<s... at REMOVE.THIS.cybersource.com.au> wrote:
> To me, this code is redundant but not wrong:
> def sin(x):
> return math.sin(x)
> It's not wrong, because it does everything that it is supposed to do, and
> nothing that it isn't supposed to do.
I told you, redundant/useless/misleading/poor code is worse than
wrong: wrong code
speaks (you see the bug, you have no choice but to fix it) whereas
code is silent: you see how damaging it is only when doing
maintenance, i.e. too late,
so it tends to perpetuate itself forever (whereas a bug *has* to be
the application does not work).
More information about the Python-list