Skip to content
koanlogic edited this page Jan 28, 2012 · 2 revisions
  • use carpal.h macros as much as you can (quick intro)
  • indent is 4 spaces (no tabs)
  • opening brace is always on a newline
  • comments are a very good practice
  • neat and small functions are good. if > 20-30 LoC, check if some code can be factored out
  • in doubt, check libu code

Clone this wiki locally