[clue-tech] Son's PC and intro to programming
David L. Anselmi
anselmi at anselmi.us
Thu Feb 16 16:45:00 MST 2006
Matt Gushee wrote:
> Greg Knaddison wrote:
[...]
>> If you are working in a team of folks and share code and have to
>> support each other's work, the Python indenting makes it far easier to
>> do that job.
>
> Agreed. And if I'm not mistaken, tab characters are no longer allowed
> for indenting Python, so the only point of disagreement is how many
> spaces to use.
This continues to puzzle me. I think tab characters are the obvious way
to indent code. One level, one tab. Two levels, two tabs. How much
screen space that is is a presentation issue and modern editors handle
your preference fine (even for different programmers on the same file).
So if Python insists on spaces I have to reformat if you write something
at 4 spaces and I like it at 2. What does it do if I write one way and
you add to my file another way?
I don't want to start a religious debate, but ignoring presentation (and
mixed tabs+spaces, that's stupid) why don't tabs make more sense in Python?
Thanks!
Dave
_______________________________________________
CLUE-tech mailing list
CLUE-tech at cluedenver.org
http://cluedenver.org/mailman/listinfo/clue-tech
More information about the clue-tech
mailing list