The use of :
Michael Sparks
zathras at thwackety.com
Sun Nov 28 19:57:02 EST 2004
On Sun, 28 Nov 2004, [ISO-8859-1] BJörn Lindqvist wrote:
> In the faq, http://www.python.org/doc/faq/general.html#why-are-colons-required-for-the-if-while-def-class-statements,
> it is stated that the colon is there "primarily to enhance readability
> (one of the results of the experimental ABC language)." But can that
> statement really be backed up? Has someone made a study or something?
> I always thought the rule was "the less useless symbols, the higher
> the readability." I.e:
... snip ...
> IMHO, the colon-less variant is more readable than the one with the colon.
And yet you use a colon above to indicate ownership of the following chunk
of text - specifically ownership by the "I.e" to illustrate your point.
Methinks there may be a connection between the assertions:
* But I could be wrong
:-)
Michael.
More information about the Python-list
mailing list