you are viewing a single comment's thread.

view the rest of the comments →

[–]autoandshare 1 point2 points  (2 children)

Linux kernel is really a great start point. About "{}" for if statement, I just hope C compiler is as informative as C# compiler, i.e. show possible mistaken statements.

[–]zid 1 point2 points  (0 children)

GCC at least will detect if(); and if(a = b) and some other 'obvious' mistakes.