CompuServe Messages

One-line-itis

    11-Sep-94 15:55:46
Sb: One-line-itis
Fm: Ed Kellerman 71532,3255
To: Syndesis 76004,1763
<The Obfuscated C book is actually very, very good as a learning experience. It shows things you can do in C that you might never have dared to imagine existed. I'd rather recommend "Code Complete" as a guide to writing clear C code, though. When I bought it, I was quite comforted to find that I followed almost all of its guidelines already. :-)> Thanks for the recommendation John. I have gone on a C-code book reading spree. During the last few days I've gone through (selectively): The Waite's Group New C Primer Plus (OK) Writing Solid Code (Very Good) The Best C/C++ Tips Ever (Excellent) Barnes and Nobles just loves to see me coming! ( I bought even more astronomy books the week before). Now I'm skimming "The C++ Programming Language" (by Bjarne Stroustrup). I was pleased the find that even he is not immune to one-line-itis. For example, on page 82: case'0': case '1': case '2': case '3': case '4': Well, just a mild "case." Ed K