[Pythonmac-SIG] Selecting in BBEdit & Python Indenting style(spaces)
Louis Pecora
pecora at anvil.nrl.navy.mil
Wed Nov 30 16:11:58 CET 2005
Rob Managan wrote:
> Because in a mixed environment some one will take a file that has
>
>tabs and add spaces or vice versa. As soon as lines have a mixture of
>tabs and spaces then the display does ugly things when you change
>editors.
>
>I run into this all the time in C with those I develop with. We try
>to keep it to spaces but some people forget that their editor puts in
>a tab automatically for 8 spaces and then spaces after that to column
>12 for example. Then my editor which sets tabs to 4 spaces has
>indentation all messed up.
>
>
But in C it doesn't matter for the code to compile and run. C has block
delimiters. Python does not and there's the rub. I guess this is an
old topic. Frankly, I like Python's approach much better, but it is
like, the good news is there are no block delimiters, the bad news is
there are no block delimiters.
I can live with that because the good news is better than the bad news
is worse (does that make sense? :-) ).
My original question was just a version of, could Guido (blessed be the
prophet's name) have done it better? That's all. I didn't want a flame
war or the Spanish Inquisition.
Thanks.
--
Cheers,
Lou Pecora
Code 6362
Naval Research Lab
Washington, DC 20375
USA
Ph: +202-767-6002
email: pecora at anvil.nrl.navy.mil
More information about the Pythonmac-SIG
mailing list