So, the project I work on has several million lines of code and spans about 20 years of coding on a military project with ad-hoc functionality add ons with no overall coding standard or practice. (system apparently began with some fortran programs developing a product in C) With some 50 or more people touching various aspects of the code throughout the years, there is some ****ed up **** here... talk about your pug from hell :)
Here's my favorite so far...
... while (read file) ... if (file is not open) open file ... ... ...
Heh. I"m in the same boat, Skip. I code radar jammers for F-16s. Before this I workon the the Seawolf submarine's sonar, control, and weapons system. There's always a mismatching of styles and shizznit, and none of it makes any sense in the light of day.
__________________
Robyyn Locksley - 12 Rogue, 2 Ranger (he was not afraid to die) Cytherea - 14 Cleric (31 WIS, 1270 sp) Djoan - 10 Bard (TWF Finesse 32 pt build) Krrystal Kollector - 3 Wiz (send her all of your pretty gems)
I work in a small office in Toronto for a big software company, and a lot of the programmers I work with are from either Eastern Europe or China. When a friend of mine started work at the company, he started looking through all the source code and was surprised to find that most of the comments were in Romanian. And a few weeks later someone caught one of the developers translating the code to Chinese and selling it to some company in China.