DEV Community

Rob Kendal {{☕}}
Rob Kendal {{☕}}

Posted on

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

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?

Top comments (7)

Collapse
 
rawdog71 profile image
Rainer Sulzbach

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.

Collapse
 
kazerian profile image
Riya Adhikari • Edited

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.

Collapse
 
joelbonetr profile image
JoelBonetR 🥇

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

Collapse
 
kendalmintcode profile image
Rob Kendal {{☕}}

Oh that's a good one!

Collapse
 
agathebadia profile image
Agathe Badia

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

Collapse
 
meatboy profile image
Meat Boy

Understanding MVC architecture of different frameworks a few years ago.

Collapse
 
agingarichard profile image
agingaRichard

When I finally got the concept of the 'this' keyword in javascript.