Hi all,
I was going through the book "C Elements of style" by steve oualline.
in this book many guidelines are given.
the following were seen in the book as rules
1) while(1) is preferred over for(;;)
2) use of const is preferred over #define
3) unless extreme efficiency is warranted, use printf instead of putc
& puts
now my question is
can anyone give examples for the justification of above rules ..????
OR
To what extent these rules are true..???
I was going through the book "C Elements of style" by steve oualline.
in this book many guidelines are given.
the following were seen in the book as rules
1) while(1) is preferred over for(;;)
2) use of const is preferred over #define
3) unless extreme efficiency is warranted, use printf instead of putc
& puts
now my question is
can anyone give examples for the justification of above rules ..????
OR
To what extent these rules are true..???
Comment