Style

17. Style

17.1What's the best style for code layout in C?

17.3Is the code"if(!strcmp(s1, s2))" good style?

17.4Why do some people writeif(0 == x) instead of if(x == 0)?

17.5I came across some code thatputsa (void) cast before each call to printf. Why?

17.8What is Hungarian Notation''?Is it worthwhile?

17.9Where can I get the``Indian Hill Style Guide''and othercoding standards?

17.10Some people say that goto's are evil and that I should never use them. Isn't that a bit extreme?


top