Skip to content
iamtrulygod edited this page Feb 4, 2012 · 2 revisions

We should probably have a coding style.

I'm partial to Allman Style with hard tabs.

Seconded. I usually blend 1TBS and GNU, but I'm on board. - Tor

Agreed, that is how I usually code. I've had some issues with cross-platform hard tabs, nothing serious though. - Oliver

Should we limit lines to 75 chars or is that not important to anyone? - Tor

It's not particularly important to me.

I'd also like to ask that text files have a newline at the end. It makes cating files work correctly, and git complains when it diffs files that don't end in a newline.

Again, seconded. I'm vetoing my own idea about width limits. - Tor

It's probably also good to strongly encourage you add tests when you make a topic branch that introduces new features. The CMake tutorial covers this. - Tor

Clone this wiki locally