The Zero Cost Abstraction of Iteration

I’ve been hooked on C++ for about 10 years now. Since CMPUT101, I’ve been attracted to the syntax of the language, the simplicity of use, and later the driving ideals behind the language. C++’s author Bjarne Stroustrup, stands alone when it comes to preaching language ideals and pushing the language forward all while respecting theseContinue reading “The Zero Cost Abstraction of Iteration”

Ye Olde Double Dispatch; The Invasive Visitor Pattern; and Pattern Matching.

As the title suggests we’re exploring The Ol’ Double Dispatch, Visitor Pattern and Pattern Matching. Given this topic can be language agnostic, I’ll choose C++ for examples. We all know it’s the language of languages. Kind of like Latin. It also gives me a good framework to work with because it’s close to the metal,Continue reading “Ye Olde Double Dispatch; The Invasive Visitor Pattern; and Pattern Matching.”