On Oct 30, 2008, at 10:09 PM, "Jean Jordaan" <[EMAIL PROTECTED]> wrote:

It more the language designers choice of applying syntactic significance to
whitespace.

All languages have significant whitespace. The parser (at least the
tokenizer) pays attention to some, the human reader to some more.
Python just removes a source of ambiguity in formatting.

My bad. I had meant significance beyond token separation I.e. Use in Control flow.

Who knows perhaps one day I will come around and embrace python. Maybe I am just change averse as every language I use regularily (C, Java, Perl and EcmaScript) all have curly brackets and semicolons (JS is even nice enough to let me use ; even though it is not strictly required).


If the whitespace doesn't carry this meaning, something else must.
Such as braces. How many people still wear braces in an era of elastic
and good belts?

Ya well "belts and braces" is not always a bad thing when it comes to code.


I believe python has this polarizing effect amongst many.

Yes, very strange.

http://www.acmqueue.com/modules.php?name=Content&pa=showpage&pid=555

They make a number of points that would seem to support Python's
approach to formatting, and then state that they just don't like it,
because it would seem to violate some small detail of their personal
style guide. I find it just as sensible to dislike a language because
it uses "if .. fi" instead of "if .. endif" or "if .. begin .. end".

I believe one of the common problems is with auditing code with blocks that cross more than one screen. I end up with fingerprints on my screen rather than using the auto brace matching built into my editor. In any case I concede to being a braces loving heathen who has not yet seen the light; there is probably a python mode in all of my editors that I have not had the time to learn about.

~mc


--
jean . .. .... //\\ \oo///\\

_______________________________________________
Slugnet mailing list
[email protected]
http://wiki.lugs.org.sg/LugsMailingListFaq
http://www.lugs.org.sg/mailman/listinfo/slugnet


_______________________________________________
Slugnet mailing list
[email protected]
http://wiki.lugs.org.sg/LugsMailingListFaq
http://www.lugs.org.sg/mailman/listinfo/slugnet

Reply via email to