[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bash vs. python scripts - which one is better?



> Just remember to tell you editor to "inserts spaces as tab" and set
> the tab width to something reasonable like 4.

Please don't.  TABs are 8 spaces apart.  Always have been, always will be.
People playing silly tricks with tab-width is the main reason why using TABs
in languages like Python is a bad idea.


        Stefan


PS: Also remember that the Python interpreter can't read your .emacs to
    figure out the width of a TAB you intended.  Haskell defines TABs as
    being 8 spaces apart and I expect Python to do the same.



Reply to: