Ben Finney wrote:
> Edward Elliott <[EMAIL PROTECTED]> writes:
>> As long as we're trotting out aphorisms
> 
> The ones I quoted were from Python.
>     >>> import this

Yes I know where it's from.

> You've misunderstood "don't repeat yourself". It advocates *one*
> definition of any given thing in the code. You are advocating *zero*
> definitions of 'self' in the code.
 
It's implicitly defined by the language/runtime, so I shouldn't need to
define it in my code.  Doing so is duplication of effort, aka DRY.  An
implicit definition is not an empty definition.  Where do the semantics of
'while' and 'for' come from?  Same thing, it's implicit in the language.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to