[clue-tech] OT: Tabs vs. Spaces in Source (Was: Son's PC and intro to programming)

Greg Knaddison greg.knaddison at gmail.com
Thu Feb 16 18:04:47 MST 2006


On 2/16/06, Jed S. Baer <thag at frii.com> wrote:
> then maybe Python isn't a good choice. From the point of view of writing a
> compiler to deal with an indentation-sensitive language (bletch -- IMHO),
> how do you figure out the indentation level if you allow multiple
> whitespace characters? Is 1 tab plus 4 spaces the same as 2 tabs?

No - they have the be the same kind of white space.  This screws up a
lot of beginner python programmers when they first share a file with
someone else.

Greg
_______________________________________________
CLUE-tech mailing list
CLUE-tech at cluedenver.org
http://cluedenver.org/mailman/listinfo/clue-tech



More information about the clue-tech mailing list