Lock your Ad to the Top of this Site - Readers always see it! - Advertise Here
 


C++ In Action: Industrial Strength Programming Techniques

  • 1,739 views
  • In: C/C++, IT eBooks
  • Author : mrblue
  • 1 vote, average: 5 out of 51 vote, average: 5 out of 51 vote, average: 5 out of 51 vote, average: 5 out of 51 vote, average: 5 out of 5

    Indeed, why YABOC11 (Yet Another Book on C11)? There are already many excellent books describing all imaginable aspects of C11. As far as learning the language and all kinds of programming tricks, the market is pretty much saturated. This book is not a language reference or a collection of clever tricks and patterns. This book is about programming.

    Teaching programming is very different from teaching a language. A programmer is usually faced with a problem that he or she has to solve by writing a program—not with a language feature whose use he or she wants to illustrate. In this book I try to show, as much as possible, how to use the language as a tool to solve programming problems.

    I center the presentation around various software projects. In each project I first describe a problem to be solved. Then I discuss what the program should do, what it should look like, and how it should react to user input. Based on that I build a scaffolding that captures the structure of the program without implementing its functionality. Finally, I implement the functionality, component by component.

    But programming doesn’t stop there. What follows in this book is a long series of code reviews each followed by a rewrite. “How can this be done better?” is a question a programmer asks himself or herself constantly. And then another question becomes more and more relevant, “How do I write code that can be easily revised?”

    In programming, as in life, there is never a single way to do something. That’s why being able to argue about various solutions is extremely important. Programmers who don’t know how to argue end up bitter and frustrated. I remember my own frustrations when faced with an argument like, “Because it’s always been done like this.” In this book I argue a lot. I try to find the pros and cons of every solution, and in many cases I manage to settle on something I consider “elegant.” However, I never use elegance as an objective criterion. I believe that one can always uncover some very practical arguments that are hidden behind the subjective impression of “elegance.” An elegant solution in many cases catches a very good abstraction or generalization. It results in code that is easy to understand, modify, and debug.

    Finally, in this book I emphasize the human factor in programming. My credo is “programs are written for programmers, not computers.” Programmers want to write better programs not in order to make them more understandable to computers, but to make them more readable to humans. Program maintenance is impossible without program understanding. This may seem like an obvious thing to say, but many programmers overlook this self-evident truth.Why You?

    Download Here

    Password: www.ebooksportal.org

    del.icio.us:C++ In Action: Industrial Strength Programming Techniquesdigg:C++ In Action: Industrial Strength Programming Techniquesblinklist:C++ In Action: Industrial Strength Programming Techniquesreddit:C++ In Action: Industrial Strength Programming TechniquesY!:C++ In Action: Industrial Strength Programming Techniques

    Random Posts

    Leave a Reply

    You must be logged in to post a comment.