[haiku-development] Re: Coding guidelines

  • From: "Jonas Sundström" <jonas@xxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 08 May 2010 15:12:10 +0200

The coding guidelines could link to known good code in the source repo,
which both shows the code right (using 4 spaces) and lets you download it raw.

File reference:
http://dev.haiku-os.org/browser/haiku/trunk/headers/os/app/Application.h

Code section reference:
http://dev.haiku-os.org/browser/haiku/trunk/src/kits/app/Application.cpp#L576

We could make a separate part of the repo for example code, showing
bad code, good code and the difference in all its highlighted goodness,
for the purpose of linking to from the coding style guidelines and the
Haiku book.

/Jonas.


Other related posts: