← Back to context

Comment by jiggawatts

3 hours ago

I’ve done this kind of thing before: I wrote a 3D game engine that could switch between DirectX and OpenGL at runtime and also switch GPUs dynamically.

At some point the architecture becomes a toy to play with, like a train set. Trying to push the abstractions as far as they can possibly go within the bounds of the parent language is a fun challenge to tackle.

Of course, this is pointless and even counterproductive. I only did this decades ago when I was a junior developer. With more experience I now deeply appreciate simple, straightforward, to-the-point code.

I tell juniors: “Just do the thing.”