I've been reading a few sites about coding styles and true to form they are all contradictory.
Does it really matter as long as your are consistent?
I've been reading a few sites about coding styles and true to form they are all contradictory.
Does it really matter as long as your are consistent?
THe contradictions you found are quite normal... Not everyone agrees about coding standards. If you have a look at some source code formatters (e.g. Astyle) you'll see that there are several different "standards" but of course the only thing that realy matters is consistency within a source tree. Keeping in mind that coding standards are supposed to make code easier to read is also important![]()
Last edited by fullmetalcoder; 1st May 2008 at 09:12.
Current Qt projects : QCodeEdit, RotiDeCode
Bookmarks