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.
How much do we think about our suppliers' system awareness?
- Security
Automatic Memory Management -- No Panacea
One of the loudest criticisms I hear about C++ is that it doesn't have garbage collection. In other words, whenever a program allocates memory, some other part of that program has to figure out when to free it.
- DesignThe Trouble with Testing
There is a school of thought that says that when you set out to write a program, you should write the tests first. Your goal is then to write the simplest program that passes the tests. Once you have done so, you're done.
- DesignInvariants as an Intellectual Tool
Invariants are a great way to make sure your loops are doing what you expect.
The Perils of Violating Abstractions
Some programming abstractions seem like they can safely be violated. There are reasons, however, why you should think twice before doing so--a little self-discipline can have big payoffs.
When Types Contain Data
C++ features that allow types to vary during compilation also allow compile-time computation on numbers. This can have useful side effects.
C++ Exceptions & the Linux Kernel
C++ kernel-level runtime support for Linux lets you use the full power of C++ in kernel-space programming. - C/C++
Why Programming Languages Can't Be Perfect
Understanding the quirks of a particular programming language lets you use the language more effectively.
<algorithm>: find
Bjorn continues his series on the Algorithms Library of the C++ Standard with a discussion of find, which is designed to locate specific elements in a sequence.
<algorithm>: for_each
In the first in his series on the Algorithms Library of the C++ Standard, Bjorn covers for_each, a terse alternative to writing your own loops.