Coding style article with interesting section on white space

beliavsky at beliavsky at
Sat Jan 29 09:53:09 EST 2005

Nick Coghlan wrote:
> Thought some folks here might find this one interesting. No great
> just a fairly sensible piece on writing readable code :)
> The whole article:
> The section specifically on white space:

The suggestions in the cited article, "How Not to Write FORTRAN in Any
Language", are reasonable but elementary and can be followed in Fortran
90/95/2003 as well as any other language. What infuriates me is that
the author writes as if Fortran has not evolved since the 1960s. It
has. To be specific, Fortran 90

(1) allows variable names up to 31 characters long
(2) has a free source form where
(a) there are no rigid rules about starting code in a certain
(b) white space is significant
(3) has a full set of control structures -- goto's are almost never

More detailed rebuttals of the article are in the archives of the
Fortran 90 discussion group at
-- search for "Fortran bashing".

Python looks more like Fortran 90 than one of the curly-brace/semicolon
languages, and both languages have modules and array slices.

One ought to do a little research before publishing an article.
Apparently, many authors and editors are too lazy to do so.

More information about the Python-list mailing list