Here are some prescriptions for writing Python code that other Python programmers will find more usable and readable than it might otherwise have been (i.e. code that "doesn't obviously suck").
Titus Brown, Writing (Python) Code that Doesn't Suck, v2
Syntax doesn't give you readable code for free. Snarkiness aside, Titus's rules are pretty universal.
Running tests (Score:1)
Re: (Score:1)
All well-behaved Perl modules do nothing if you run them directly, so they already “run tests or do nothing”… :-)
Proof of Syntax and Readability (Score:2)
Syntax doesn't give you readable code for free.
Hm. Let's test this out.
Proof:
Hm. I guess uniform syntax doesn't necessarily lead to readable code. :-)
Re: (Score:1)
It's computers, so the analogy should involve cars, but "Just because I can diagram a sentence doesn't mean I can read Finnegan's Wake."