Indentation voodoo in Python

February 25, 2008

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.

© Allen Pike. See also Twitter and Steamclock.