#Programming

Back to Tags

Confusing CMake Components

So after much confusion, I finally understand that the components related to install() statements are unrelated to the components of find_package(). The former being related to the –component flag of cmake –install and the later being closer related to export sets and (Package)Config.cmake

Interfaces and Base Classes

Interfaces and Base Classes

Recently, I was recommended a video on YouTube by ArjanCodes, detailing the differences between Protocols and Abstract Base Classes in Python.

While he tries to contrast the two, the problem is that for a dynamically typed language like Python the differences are superficial.

Here is my take on the comparison and how it transfers to a statically typed language like C++.

Read More
Manufacturing Objects

Manufacturing Objects

In object oriented programming, factory patterns are common design patterns for object creation. Online I’ve found some explanations of them lacking and often confused with a different concept entirely.

In this post I’m going to try and clarify the differences between these patterns and concepts and the purposes behind them.

Read More