Euan Ritchie's playground

Navigation

Search this site

Login More quotes… 
Expand all rantsList rants ordered backwards in timeList rants alphabetically

Language Irritants #1

I don't like the syntactical meaning of Pythons' whitespaces. I think it's silly, but I could live with it as someone elses choice of how to go about things (wrong as they were).

But I can't live with using spaces where one ought be using tabs. It drives me to distraction and rage when I open a script and start editing it only to find out some dork has used an unusual quantity of spaces for indenting. Spaces are gaps between other characters, indenting is the job of tabs!

Here's a test of someones understanding of a concept: find a Python evangelist who works with web pages and extolls the virtues of correct markup, XHTML and presentation through CSS. Question them to find if they understand the similarity between using mal-formed tag soup in a web page and the inaccurrate, imprecise using of spaces instead of more syntacticly useful tabs in Python.