New to Python - block grouping (spaces)

lconrad at go2france.com lconrad at go2france.com
Thu Apr 16 11:21:27 EDT 2015


>
> On Fri, Apr 17, 2015 at 12:52 AM, Blake McBride <blake1024 at gmail.com> 
> wrote:
>>
>> 2.  Having been an employer, it is difficult to force programmers to 
>> use any particular editor or style.  Different editors handle tabs and 
>> spaces differently.  This is all a bloody nightmare with Python.
>>
>> 3.  Languages that use braces (or the like) can be run through a 
>> program beautifier to correct the indentation.  You are just screwed 
>> in Python.  So, Python may be a cute language for you to use as an 
>> individual, but it is unwieldy in a real development environment.
>>
>
> If you're prepared to run a beautifier on your employees' code, you
> should have no problem requiring that they adopt a syntactically-legal
> style. You're already throwing away any option of indentation not
> matching the physical structure of the code, so why not simply have
> the indentation define the physical structure?
>
> ChrisA

The war of the whitespaces rages on among programmers

http://www.itworld.com/article/2909268/the-war-of-the-whitespaces-rages-on-among-programmers.html?phint=newt%3Ditworld_today&phint=idg_eid%3D997c2c0be180eb9bc32d6211712db4cb#tk.ITWNLE_nlt_today_2015-04-16
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150416/4bfada3c/attachment.html>


More information about the Python-list mailing list