It’s about the journey.
Using C# classes in C++.
Over the course of the last two years I’ve embarked on a journey developing a productivity (read to-do list) application. When I started out I dreamt of a productivity app that worked for me. Because I, like many others I can only assume, hadn’t gotten much value out of the many applications I had tried … Continue reading What I’ve learned from 2 years of Productivity Research and Application Development
What a wild summer it has been. With everything going on in the world, it’s important to take a moment to reflect on what’s going well, right now. With non-essential travel on pause, I haven’t needed to travel for work. Which means I’ve had more time to enjoy the summer with family, and more time … Continue reading GoF – Abstract Factory Pattern
Welcome back everyone, for at long last, the last in this vector series. It’s been a long haul, and I appreciate everyone who has come along for the journey. In light of the happenings recently in the United States of America, I’d just like everyone to take a moment of silence; for those victims of … Continue reading Don’t try this at work – Vector Pt. 3
How’s y’all summer bodies lookin’? Mine’s lookin’ like I got a nice personality. — Random Reddit Post I hope all is well with each, and every one of you. This has definitely been a stressful, and mentally trying time. Shortly after my last post, the monitor on my laptop failed, and I had to replace … Continue reading Don’t try this at work – Vector Pt. 2
Welcome back! I hope you’re enjoying quarantine. I know for me, not being able to get out climb has definitely had an impact on my mental health. Oh, and my waistline. That being said, I’ve had more time to get into the code, which is a piece of my own little paradise. As I mentioned … Continue reading Don’t try this at work – Vector Pt. 1
As we enter into a new year, I can’t help but reflect on the last. What I did, what I didn’t do, with a focus things I’d like to accomplish in the coming 12 months. I’ll spare you the details of my self reflection. Though, I would like to share the method that I use … Continue reading They say Hindsight is 20/20
Over the years I quite often find myself pondering software development patterns and practices. It’s the kind of thing I think about in my downtime, when I’m driving to and from work, or sitting at home… pondering. I always seem to come back to one question, is the common interpretation of the pattern, that is … Continue reading A Single Responsibility
I spent a lot of time debating what I should title this post. Should it be “Buzz Words”? Or maybe “Separation of Concerns and SRP”… SOLID Concerns? In the end, I settled on this — Separating your Concerns. I also spent a bunch of cycles, asking myself what I really wanted to cover. What ideas … Continue reading Separating your Concerns
You’ve heard it a million times, “here’s some advice I wish they would’ve told me when I was your age”. In my case, I’m very fortunate to have grown up with great parents, who shared with me a lot of their life experience and knowledge (thanks Mom & Dad). Sometimes though, I was just too … Continue reading What I wish I would’ve listened to – Part 1
Forgive me, for it has been two months since my last post. Sometimes life just ends up getting in the way of the things you have desires to do. Your passions and goals get moved to the back burner, as you deal with the daily chaos that is life. It takes a concerted effort to … Continue reading On Leading Yourself
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 … Continue reading [ASPeKT] Oriented Programming
Again, if you haven’t already done so I suggest reading through Part 1 and Part 2 of the series. I’ll do a quick TL; DR; recap, but it may not do it justice. What feels like ages ago, I started on a journey to implement a clone of Microsoft’s C++ Unit Test Framework Test Adapter, … Continue reading The one where we reverse engineered Microsoft’s C++ Unit Test Framework (Part 3) – Exceptions
If you haven’t already read Part 1, of this series, then I suggest giving it a skim. If not, I’ll give a quick TL;DR; A few years ago, I was frustrated with some of the idiosyncrasies of Microsoft’s C++ Unit Test Framework. I set out on a mission to develop a custom test adapter, to … Continue reading The one where we reverse engineered Microsoft’s C++ Unit Test Framework (Part 2)
Ever wondered about how the Microsoft C++ Unit Test Framework really works?
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, … Continue reading Template<T> vs. Generic<T>
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 … Continue reading The Zero Cost Abstraction of Iteration
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.
According to Martin Fowler, who coined the term, this pattern is an ‘Anti-Pattern’, and it’s “contrary to the basic idea of Object Oriented design”. I’m not an Engineer (although I’m sure my parents wish I was), but engineering is about picking the best approach to solve the problem. The fact of the matter is, depending … Continue reading In Defense of The Anemic Data Model
I like to think my first words were ‘std::cout << “Hello World” << std::endl;’. The canonical C++ Hello World program. But alas, they weren’t. I cut my teeth on QBasic (Quick Beginners All purpose Symbolic Instruction Code, not to be confused with QuickBASIC). I did my time in QBasic, writing ‘viruses’ that would show download … Continue reading The Adventures of Dependency Injection and Inversion of Control.
First, let me start by stating that I’m not claiming to have invented this. Not even close. I ‘borrowed’ the idea, from “Uncle Bob”. Interestingly enough, I stumbled upon it (kinda), before I ever read about it. Here’s the story. I had had my doubts about frameworks and ORMs like Entity Framework for some time. … Continue reading The Wedding Cake Architecture
Follow My Blog
Get new content delivered directly to your inbox.