* Vassilii Khachaturov -- Monday 10 July 2006 17:28: > Noted that, I used to send out tabified code. Personally, I prefer > tabs, but [...]
So do I. But most people don't understand that concept, and will always mix tabs into it. You need an editor that shows tabs, and you need to have style -- a requirement that most don't fulfill. The second best indentation is 4 spaces. Sad, but hard to change. > How about a uniform set of GNU indent(1) indent(1) doesn't support c++ and will only mess it up. I'm not aware of any formatter that groks c++. And ultimately, developers won't like if they are forced to use any other style than their own. My only wish is consistency. Some people don't give a damn about the existing style of a file, and add code in theirs. This leads to files with mixtures of 2, 3, 4, 5, 7 spaces, and tabs, mixed wildly together. This is not made up! I've fixed several of those. There are files with 12 (twelve!) tabs in front of some lines. (Apparently, the author uses 1-position tabs.) Indenting *must* be rocket science. The only thing that is bad even if it's consistent: FSF coding standard. It looks like shit, is hard to read, and has no other purpose than being "different". It's a political coding style, not a rational one. I can't stand it and will eradicate it wherever I can. I'll never commit files in this style. Two fgfs contributors apparently like it. m. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel