News:

Beta test the new forum at https://simutrans.forum/
Simutrans Sites
Know our official sites. Find tools and resources for Simutrans.

Coding style

Started by Max-Max, May 27, 2013, 10:03:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Max-Max

I remember there was some sort of guidelines regarding coding style. Now I can't find it...

Does anyone know what document I'm talking about and where I find it?
- My code doesn't have bugs. It develops random features...

Combuijs

trunk\documentation\coding_styles.txt ?
Bob Marley: No woman, no cry

Programmer: No user, no bugs



Max-Max

Duh!!!  :o

Yea, It was on my local drive I saw it  ;D
- My code doesn't have bugs. It develops random features...

TurfIt

Note: this document is quite outdated in several areas. The discussion on changing it died...
Best to just mimic the style shown in Prissis commits IMHO.