loading...

What was your biggest 'a-ha' moment in coding?

kendalmintcode profile image Rob Kendal {{☕}} ・1 min read

We all love (and sometimes hate) coding, but there are times when everything seems against you; nothing's clicking, it doesn't make sense, the docs are useless, and that's sometimes when imposter syndrome hits hardest.

But then we have those glorious, golden moments, the 'a-ha' moments where things just click and make sense.

What's your biggest 'a-ha' moment or most recent 'eureka' moment?

Discussion

pic
Editor guide
 

It was 30 years ago when I coded a game for the C64 in assembler. I was loading map data dynamically into the memory. Then I implemented a way to also load runnable code with that map data. I think that was a mechanisms, what most people now know as DLL in Windows.

 

This was probably 4.5 years back when I was an absolute newbie. And even though I knew that arrays were reference types, I guess, the ramification of doing this arr1 = arr2 had not fully sunk in. And I spent hours trying to debug as to what was messing up my lists. Finally, I got to the point where I saw changes in one array was causing changes in the other. That was my "Ahaa" moment. A moment that truly taught me what reference types meant.

 

When I understood the workflow of a framework and how the action/data needs to be displayed.

 

Every time I have to refactor something because someone harcoded things instead on loading data dynamically on a logic manner :v

 

Oh that's a good one!

 

Understanding MVC architecture of different frameworks a few years ago.