http://qs321.pair.com?node_id=592816


in reply to Re: What is code readability?
in thread What is code readability?

This gets exactly to brian's point. Languages are not inherently more readble than others because of these design choices. I have not used Python, but I absolutely love Haskell, which has a similar layout rule to Python's. To me, knowing that my (or more importantly, someone else's) module won't even compile if a block is indented inconsistently is a great relief. For others, it may not be so significant.

Replies are listed 'Best First'.
Re^3: What is code readability?
by Anonymous Monk on Apr 12, 2010 at 18:07 UTC

    If only that were true...

    if DEFCON == 1: soundAlarm() launchMissiles() #oops