
The curse of varargs
Unexpectedly I needed to add support for variable argument functions to Leaf long before I intended to. I just wanted to print out a value,
Unexpectedly I needed to add support for variable argument functions to Leaf long before I intended to. I just wanted to print out a value,
In the world of parametric programming our languages often seem quite varied and unique. At the core however are two primary approaches, let’s call them
C# prefers composition to inheritance yet lacks any concise composition syntax. This is unfortunate. While I have nothing against composition, I really don’t like the
I like using enums and type hierarchies. What I don’t like is writing verbose switch statements to use them. In C++ I use macros to
Iterating over the elements of a recursive data structure can be difficult. Given a set of objects, where each object could potentially link to any
A new technology I’m trying has a curious domain-specific extension for OpenGL graphics. It introduces a block concept allowing for modular shader code. From a
To support a low-latency trading system I needed a logging call that had minimal impact on the calling thread. It was imperative to be responsive
A variable with an undefined value is a terrible language failure. Especially when programs tend to work anyway. It’s a significant fault of C++ to
Collection iteration is perhaps the most insidious language construct. Simple to create and easy to understand. Yet lurking within lies the ability to create random
Thinking of text and strings as the same type is wrong. It leads to all kinds of errors and results in confusing or incomplete APIs.
Signup to my mailing list to get notified of each article I publish.
Made with Elementor. Hosted with SiteGround. Domain from Netim.