Beyond Fundamental C++ - Experience
I often post questions about C++ status relative to other programming languages as well as how to get specific programming working under C++.
I want to switch direction for once and ask about good programming technique. I am at a point where programming with C++ is no longer intimidating unless it involves something that requires creating an entirely new data structure.
How do you define good programming technique?
Ultimate, the better the programming technique including program design, the more efficient the final program will operate. Furthermore, the program file should be smaller while undoubtedly producing the same result. I often find myself implementing if/else, while/do while and using bool as a "count" to manage the if/else and loops. In terms of effective programming, is that good practice? Do not get me wrong. I use only what is required and nothing more. It is just that sometimes the section of the program I work on need that kind of technique. I would like inputs from experience programmer about implementations that increase performance.
Last, I read Deitel & Deitel C++ How to Program and Accelerat C++ by Andrew Koenig and Barbara E. Moo quick because it is such a short book. I prefer Deitel & Deitel C++ How to Program because it is a complete book. I have never come across a more complete and effective C++ book such as C++ How to Program. Nonetheless, I find Koenig and Moo implementing more involved programming techniques such as using more STL in function parameters, returning STL and lastly calling functions within functions. Maybe these technique seems different because of the way Koenig and Moo wrote their book when. They seems to like everything compact.