site Search Results
Results for: Andrew Koenig
Order the NEW
Discounted Dr. Dobb's Developer Library DVD 6
Purchase the fully searchable DVD for $59.95 - a 60% discount! Features
21 years of Dr. Dobb's Journal, 15 years of Sys Admin
magazine, 14+ years of C/C++ Users Journal, 1 year worth of Dr.
Dobb's Digest, podcasts, videos and more! Order Now.
Are You Sure That Your Program Works?
One of the more effective ways of finding out that something doesn't work is to try to explain why you think it does work. - C/C++
More Thoughts on Undefined Behavior
Programmers are still trying to resolve the tension between safety and performance. - C/C++
Undefined Behavior Versus Teaching
It is important to avoid undefined behavior wherever possible when teaching beginners. - C/C++
C++ Primer 5th Edition, Part 5: Core Language Versus Library?
One of the most important problems to consider in planning a C++ curriculum is how to teach the relationship between the core language and the standard library. - C/C++
C++ Primer 5th Edition, Part 4: What Makes a Good Example?
Copy constructors are a useful example of language features that C++11 has made easier to use. - C/C++
C++ Primer 5th Edition, Part 3: Smart Pointers Make It Harder To Teach How To Write Copy Constructors
- C/C++
C++ Primer 5th Edition, Part 2: How Language Revisions Change Strategy
Imagine that you are a textbook author. Throughout your book, your programming examples have dutifully used copy constructors that explicitly copy their classes' data members. Now the language has changed, and all this code is no longer necessary. What do you do? - C/C++
C++ Primer 5th Edition, Part 1: How To Revise a Textbook
If a textbook teaches the first two forms, and then mentions the last three forms only as an afterthought, most readers will probably stick to the first two forms and not use the other three at all. - C/C++
Syntactic Sugar Is More Than Dessert
We can think of this encapsulation as a kind of syntactic sugar — but it has another useful property as well: Part of what is encapsulated is the pointer to the dynamically allocated object. - C/C++
Asymmetric Bounds, Part 5: Rules of Thumb
This series has concentrated more on why than on how. This installment offers concrete advice about how to make programming easier when you use asymmetric bounds. - C/C++