Cranky Frankie wrote:
> Eric Myers [email protected] via mhvlug.org wrote:
> <<Bah!  Active whitespace is the work of the devil.  Anybody who has
> had to find where the tabs have been replaced by spaces in a Unix
> Makefile knows this. If you want nice indentation you can easily do
> that, as a matter of style, but it should not be enforced as a matter
> of grammar.  I like other features of Python, but using indentation to
> specify (more like imply) scope is just wrong (IMHO).>>
> 
> It took me a while to get used to it too, but now that I am I'm more
> than OK with it. In IDLE you can go Format/Tabify Region and it will
> take all the spaces out and put tabs in, so it's not too bad.
> 
> Like anything else, once you get used to it you just deal with it. The
> big benefit is how clean the code looks.

For a long time I felt like Eric, in fact I avoided Python for about a year
for this reason.  After about three days working in the language I was
converted - I think indentation based syntax is awesome.

I'll admit that it sometimes causes problems, but so do curly braces.  In
fact, as someone who regularly switches back and forth between Python and
curly-brace languages, I find that I spend more time fixing mismatched curlies
than I do dealing with indentation issues in Python.

(just chiming in to offer perspective, no language warfare! :-)

> 
> 
> 
> -- 
> Frank L. "Cranky Frankie" Palmeri
> Risible Riding Raconteur & Writer
> “How you do anything is how you do everything.”
> - from Alabama Crimson Tide training room
> _______________________________________________
> Mid-Hudson Valley Linux Users Group                  http://mhvlug.org
> http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug
> 
> Upcoming Meetings (6pm - 8pm)                         MHVLS Auditorium
>   Jan 4 - Getting Involved in Open Source
>   Feb 1 - Home Networking Made Simple with Amahi Home Server
> 
>   Jan 4 - Getting Involved in Open Source
>   Feb 1 - Home Networking Made Simple with Amahi Home Server
> 
>   Jan 4 - Getting Involved in Open Source
>   Feb 1 - Home Networking Made Simple with Amahi Home Server
> 


=============================================================================
michaelMuller = [email protected] | http://www.mindhog.net/~mmuller
-----------------------------------------------------------------------------
If you are not willing to control your own mind, there are plenty of other
people who are willing to do it for you.
=============================================================================
_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug

Upcoming Meetings (6pm - 8pm)                         Vassar College
  Jan 4 - Getting Involved in Open Source
  Feb 1 - Home Networking Made Simple with Amahi Home Server

Reply via email to