> Now to the coding style. I can probably adjust to any style adopted as
> standard, but pretty please forget about using spaces for indentation.
> Isn't it obvious, that indentation is a higher level abstraction and
> thus should be indicated in other ways (meaning tabs, of course)?
> Besides, I can't imagine anyone counting the 12 spaces for the 3rd
> indentation level. I assume they would just press tab and their
> editors would do the rest. But then you can configure almost any
> editor to display tabs in whatever size you are comfortable with. I
> can't see any drawbacks in this.

I won't use tabs, and remove them wherever I see them. If you are developing
code where you are the only person coding, then go ahead and use them. But
when multiple people use tabs or spaces in different editors, with different
tab sizes, and tabs converted to spaces in different ways, it's a horrible
mess. In the real world, tabs are a bad idea. With modern editors, you can
configure the tab key and autoindentation to work very well generating only
spaces - and what you see is what you get. Tabs are invisible and look like
spaces to the eye, unless you cursor through them.

Jon


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to