The Eureka Moment That Made Me Fall in Love with Programming

In my first year of university, programming felt like an impossible challenge. I'd struggled with basic maths. times tables, the usual stuff. and the logical structure of programming seemed even further out of reach.

For weeks, I stumbled through lectures and assignments, doing my best to keep up. My classmates seemed to have everything figured out, and I often found myself nodding along to conversations I barely understood.

We were tasked with creating a Mario re-creation in SDL. For extra credit, we could add infinite scrolling. SDL only supported screen positions, so making something scroll continuously felt completely beyond what I was capable of. I wasn't confident about the basics. how on earth would I tackle something that advanced?

One evening, walking back to the dorms with a classmate, we started talking about how infinite scrolling might work. He was miles ahead of me, tossing out ideas that felt like another language. But somewhere along that short walk, something clicked.

I suddenly understood. We could create a fake position system. one that tracked an object's global position in the world alongside its local position on screen. What had seemed impossible moments earlier now felt within reach. I was contributing ideas again, bouncing solutions back and forth with my classmate. By the time I reached my room, I couldn't wait to start coding.

Looking back, it's almost funny how basic that approach is. Having a global and local position system is common knowledge in games. anyone with experience would take it for granted. But at the time, solving something I'd been stuck on for weeks felt enormous. That night, I stayed up late coding not because I had to but because I actually wanted to.

A few years later, chatting with friends about our university days, I shared this story and realised most of us have similar moments. times when everything just clicks into place. It was reassuring to know I wasn't alone in that experience. Struggling is part of how any of us learn.

That specific moment still sticks with me though. I can picture the exact spot on that walk where it all made sense. It wasn't a step forward in my education so much as the moment everything started feeling possible instead of impossible.

Programming isn't about being naturally gifted or instantly understanding complex ideas. It's about pushing through frustration, talking to people who know more than you do, and sticking with things long enough for the pieces to fall into place. My classmate that day was far more advanced, but by persisting and challenging myself, I caught up.

By the end of my degree, I'd seen friends drop out because they couldn't make it work for them. I stayed. That persistence carried me through to a first-class degree. something I never thought possible when I started. If you're struggling right now with something that feels impossibly hard, keep going. Your own click moment will come. It already has, more times than you realise.