-
Why I hate Dependency Injection.
The click-bait title is completely intentional. 🙂 Spoiler though, I don’t actually hate dependency injection (DI). In fact, I love DI. I think it’s one of the best concepts of software design. It enables flexible software architectures, better testing, and flexibility and reusability of components. It’s an amazing concept. So why the click-bait title? Because — read more
-
Using C# from C++.
Using C# classes in C++. — read more
-
[ASPeKT] Oriented Programming
I recently had the pleasure of doing a podcast, with Matthew D. Groves, of Cross Cutting Concerns blog. He essentially “wrote the book”, so to speak, on Aspect Oriented Programming. It’s called AOP in .NET, without pumping his tires too much, I will say that his book is pretty great. I just recently finished reading it, and came to — read more
-
Template<T> vs. Generic<T>
The other day I was discussing the differences between C++ templates and C# generics. In my opinion, C++ templates reigns supreme. Not because I’m one of those guys with a “My compiler compiles your compiler.” shirt. But because in general abstractions in C++ tend to ‘cost’ lest than the same abstractions in C#. For instance, — read more
-
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 these — read more