Monthly Archives: September 2008

Getting Around Dynamic Casting To Achieve Better Design And Performance

Using dynamic casts to determine an execution path in your code is not the best to write your logic. I realized this fact while looking at Google’s style guide for C++ Do not use RTTI, except in unit-tests. If you find yourself in need of writing code that behaves differently based on the class of [...]