From TypeScript to C++: Rediscovering the Joy of Engineering

After more than a decade in software delivery, I'm returning to hands-on engineering through modern C++, game development and a deliberate approach to learning in the age of AI.

Black-and-white photocopy collage of a human brain split between anatomical tissue and electronic machinery.

I've spent more than a decade working in software delivery, going from QA through frontend, mobile and backend development to my current position as an Engineering Manager.

Each of these roles has given me a different perspective on what it takes to deliver software. Writing code is an important part of the process, but it's far from the whole picture.

My relationship with programming, however, started much earlier. I learned C# in high school, encountered C through Harvard's CS50 course, and studied object-oriented programming in Java during my university studies and early professional career. Eventually, JavaScript and TypeScript became my primary languages.

Working with different programming languages throughout my career taught me that engineering fundamentals are more important than the language itself. Understanding how to structure an application, separate responsibilities and design maintainable software is something you can carry from one technology to another.

I believe this knowledge is becoming even more important in the age of AI-assisted development, where generating code is increasingly easy, but evaluating its quality, security and maintainability still requires engineering expertise.

Returning to hands-on engineering

Since moving into engineering management, I've become less involved in the hands-on implementation of software. My responsibilities have changed, and so has my relationship with code.

At the same time, AI is transforming the entire software delivery process. As someone working in commercial software development, I'm a big supporter of this transformation. However, the way I approach software development professionally doesn't necessarily have to be the way I approach my personal projects.

Lately, I've been feeling that my ability to solve technical problems independently isn't as sharp as it used to be. Whether that's because of my reliance on AI, spending less time writing code, or simply getting older, I don't know.

But I want to do something about it.

I want to spend more time solving problems myself, exploring unfamiliar concepts and making technical decisions that I can fully understand and take ownership of.

And if I'm going to challenge myself, why not do it in a field that has fascinated me for years?

Why game development?

I've always considered game development one of the most challenging fields of programming.

Coming from web and mobile development, I find the combination of real-time systems, mathematics, graphics, physics, performance optimization and software architecture particularly interesting.

Then there's an entirely different discipline on top of that: game design.

You can build a technically impressive game that nobody enjoys playing. Understanding what makes a game engaging requires a different kind of thinking, and that's something I want to explore alongside the technical side of development.

Making my own game is something I've wanted to do for years. Now I have another reason to pursue it.

Game development gives me an opportunity to apply my existing engineering knowledge while exposing myself to problems I haven't encountered during my professional career.

Taking the longer route

When starting with game development today, choosing an established game engine like Unity, Unreal Engine or Godot would be a perfectly reasonable decision.

For me, however, many of the problems these engines abstract away are precisely the problems I want to explore.

I want to understand how a game loop works, how objects are created and destroyed, how resources are managed, how input is processed, and how all these systems come together to form a working game.

That's why I've decided to start with modern C++, using SFML for 2D game development and eventually exploring SDL3.

I'm not trying to build a competitive game engine or suggest that existing engines are the wrong way to make games. I'm choosing this approach because my primary goal right now is learning.

Finishing games is important to me, but so is understanding the engineering behind them.

And C++ is already challenging some of the assumptions I've developed throughout my career.

Learning to think about memory again

One of the biggest challenges I've encountered so far is understanding object lifetime and resource management in modern C++.

Working primarily with JavaScript and TypeScript for years, I've become accustomed to an environment where memory management is largely handled by the runtime. In C++, ownership and object lifetime become much more explicit parts of application design.

One concept I'm currently trying to understand properly is RAII — Resource Acquisition Is Initialization. The principle is to tie resource management to the lifetime of an object, so that resources are automatically released when the objects responsible for them are destroyed.

The individual concepts are not necessarily what I find most difficult. It's understanding how they all fit together when designing a larger application.

Who should own a particular object? How long should it exist? Should another object hold a reference to it, or should ownership be transferred? How should these decisions influence the overall architecture?

These are questions I now need to consider much more deliberately.

I'm still far from having a complete understanding of this. But that's also what makes it interesting. Despite years of professional development experience, I find myself having to reconsider some of the ways I think about software architecture.

Understanding a concept in isolation is one thing. Knowing when and how to apply it is something else entirely.

Finding the right balance with AI

I believe we need to find the right balance between accelerating software delivery and maintaining engineering ownership.

Without sufficient engineering knowledge, generating a working application doesn't necessarily mean we've built something secure, efficient or maintainable.

I don't want engineers to become project managers for AI, describing what needs to be built without understanding how it's being built.

For my game development projects, I want to approach AI a little differently.

Rather than asking it to implement entire systems for me, I want to use it as a learning resource, a technical reviewer and a partner in discussing architectural decisions.

There will inevitably be situations where using AI to generate code makes sense. But when I'm learning something new, struggling with a problem and eventually figuring it out myself is part of the value.

In commercial development, solving a problem efficiently is often the objective. In learning, the process of solving it can be just as important as the solution itself.

The road ahead

To give this journey some structure, I've decided to follow the 20 Games Challenge, starting with Pong and gradually moving towards more complex games.

Alongside learning modern C++, I want to explore game programming patterns, game architecture and game design theory.

My goal isn't to become an expert in everything overnight. It's to gradually develop enough knowledge to create games independently, make informed technical decisions and understand the systems I'm building.

I also want to sharpen my problem-solving skills and spend more time doing the kind of engineering that made me interested in programming in the first place.

Blich Studio is where I want to document that process.

I'll be sharing what I learn, the decisions I make, the things I get wrong and the problems I encounter along the way. Some articles will be technical, others will focus on game design, and some will simply be reflections on the experience.

I'm approaching this as an experienced software professional, but a beginner in game development. There is plenty I still need to learn, and I don't see any reason to pretend otherwise.

For now, it starts with C++ and a simple game of Pong.

Small games. Big curiosity.

Comments

Your email stays private.