Yearly Archives: 2009

C++ Variable Shadowing

In C++, you can declare a variable in a derived class with the exact same name as the base class. This is allowed because each variable is properly scoped. Shadowing can lead to some fairly unpredictable behavior. Consider a class

Tagged with: , , ,
Posted in Uncategorized

Book Review: Beautiful Code

I finished reading “Beautiful Code” from O’Reilly press a couple of weeks ago. (592 pages). “Beautiful Code” is a collection of essays that attempt to capture code at it’s most elegant. They subtitle being “Leading Programmers Explain How They Think”.

Tagged with: ,
Posted in Uncategorized
Design a site like this with WordPress.com
Get started