Re: Does Python really follow its philosophy of "Readability counts"?



Paul Rubin wrote:
But, if something is done by convention, then departing from the
convention is by definition unconventional. If you do something
unconventional in a program, it could be on purpose for a reason, or
it could be by accident indicating a bug.

I for one would love to see at least compiler warning (optionally, error) for situation where attributes are added to self outside of __init__. I consider it generally evil and hate to see code like that.


Regards,
mk

.



Relevant Pages

  • Re: Does Python really follow its philosophy of "Readability counts"?
    ... convention is by definition unconventional. ... unconventional in a program, it could be on purpose for a reason, or ... it could be by accident indicating a bug. ... you do have good reason. ...
    (comp.lang.python)
  • ot: blog intro
    ... I pose this where prose poetry is what ... others, as to our relevancy, our purpose. ... decide is reason. ... you can supercharge your thoughts! ...
    (rec.arts.poems)
  • Re: Why on earth would God......?
    ... or whether there is some reason and purpose behind ... doesn't follow that we should just assume there IS no purpose. ... That the absence of any evidence for a purpose behind our (or ... I see 'sentience' as the reason and cause of all existence, and you do not. ...
    (uk.religion.christian)
  • Re: Piano Tuning and "stretch"
    ... tautology then I am guilty but it still doesn't give me any reason ... "Convention" is not a reason ... account of what people have done and does not give reasons why it was ...
    (rec.music.theory)
  • Re: How to name variables in a program?
    ... Phlip wrote: ... >> this convention works with prefixes to indicate variable type. ... > This minor editor feature is a major reason all the early MS code used HN. ... > pointers, ...
    (comp.programming)