Indenting with tabs vs spaces
Peter Bismuti
peterb at cortland.com
Fri Nov 23 00:22:50 EST 2001
Be that as it may, I think what I have written is correct in general.
"David Eppstein" <eppstein at ics.uci.edu> wrote in message
news:eppstein-41FDAD.19324621112001 at news.service.uci.edu...
> In article <mailman.1006387828.11756.python-list at python.org>,
> "Peoter Veili" <peoter_veliki at hotmail.com> wrote:
>
> > Indenting with tabs can be done such that it will look the same on every
> > editor that uses fixed-width fonts, meaning everything will line up
> > correctly, it least in the sense that really matters. Here's an example
of
> > what I mean:
> >
> >
> >
> > function helloThere("hello",
> > "there"){
> > }
>
> I viewed your message with fixed-width fonts, and it came out unaligned as
> you see above. So I think your claim that "it will look the same on every
> editor" is false, and it is safer to stick with spaces only.
> --
> David Eppstein UC Irvine Dept. of Information & Computer Science
> eppstein at ics.uci.edu http://www.ics.uci.edu/~eppstein/
> --
> http://mail.python.org/mailman/listinfo/python-list
>
More information about the Python-list
mailing list