Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^4: Some thoughts around the "is Perl code maintainable" discussionby MonkOfAnotherSect (Sexton) |
on Aug 13, 2007 at 06:38 UTC ( [id://632144]=note: print w/replies, xml ) | Need Help?? |
Note that Python's ideal/philosophy is not TIOWTDI (as is too-often straw-manned) but "There should be one-- and preferably only one --obvious way to do it.". This is more restrictive than TIMTOWDI but is somewhat aligned with "Easy things should be easy; hard things should be possible". The key bits there are:
* "do it" - solve a particular problem. These are hardly ideals unique to Python, nor (unfortunately) does Python always live up to them. There is a price to Python's regular indentation and there are legitimate concerns people have with it, but 90%+ of complaints about Python's indentation are, frankly, kneejerk stupidity. The obvious way to structure a program in Python is to use four space indents, and editors do, but you can use whatever indentation you like as long as you indent sanely, and use line continuation/brackets if necessary. If you're masochistic you can program anything without indentation, but it's Very Very unpleasant.
In Section
Meditations
|
|