Indentation voodoo in Python

February 25, 2008 • 30 sec read


Python is my favourite language this month ((Last month’s was Javascript. Take that performance-lovers!)). The fact it requires indentation helps newbie programmers, but offends many experienced programmers’ sensibilities. Today I found a good article on some indentation myths, including tabs-vs-spaces, compiler-side details, and when whitespace doesn’t matter.


Liked this? Follow along to see what's next.

© Allen Pike. 👋🏼 You can contact me, or check out Steamclock.