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 [...]
-
Recent Posts
- Useful and Common bitwise operations in C
- Interview Screening Question
- ASP.NET MVC Model Binding Form Inputs To Action Parameters
- Notes on MVC routes mapping
- Things I’d love to learn more about
- "Remember Me" Doesn’t work in ASP.NET
- Regex Inverse Matching
- On Defensive Programming
- Getting Around Dynamic Casting To Achieve Better Design And Performance
- Parsing SQL Statements With Regex
Archives
Blogroll
-
Blog Stats
- 5,701 hits