On Fri, 18 Oct 2013, D. Michael McIntyre wrote:

> On 10/17/2013 09:41 PM, Tom Breton (Tehom) wrote:
> 
> > I apologize, Michael.  I do know about the no tabs rule and I try hard to
> > follow it.  But they're invisible.  It doesn't jump out at you that there
> > are tabs.
> 
> Yeah they are, and no it doesn't.  I've committed the damn things too.
> 
> Grrr.  Tabs are evil.

In Python the amount of indents marks a block. But not the visible
amount but some internal calculation. So it can happen that a mix of
lines *looks* indented by the same amount (some with tabs, some with
spaces) and a human thinks that that's one block, but for Python it's
*not*.

That costed me half an hour when I just wanted to add a line to a block
in a Python script that was written by another one.

This was my first encounter with that hyped language and I hope it was
my last encounter. What an ill concept!

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to