What's something you wish you knew when you first started to code?

madza profile image Madza Updated on ・1 min read

Don't we all had moments in our learning path, leading to self discernment "I wish someone would told me this before I started!" or "Learning would be so much easier onward if I first knew this!"?

To me, I wish I first knew how the request-> response cycle works, their methods, status codes and the overall process the page is being rendered.

Instead, I was just blindly typing html, css and js, without knowing nothing about what's actually happening under the hood. Stuff just 'magically' happened to me.

So, what about you? What did you learn the hard way?


markdown guide

Two things spring to mind:

  1. Version Control! This would have saved me hours of work -- and stress -- back in the early days. Admittedly Git wasn't around much back then, but SVN was going strong. Why did no one tell me these incredible tools existed?

  2. Always Ask 'Why?' I used to just blindly dive into work that came my way. This lead to a lot of dead-end projects -- unused and unloved. I could have saved myself this pain by asking 'why', and really understanding the requirements early on.


Hahah, 2nd one actually correlates with the 1st one ;)
If you mess something up due to lack of information, you have a safe back-up to get back on track, where both parties agreed..


Very true! This might explain why I was stressed when I was younger ...

  1. Thinking about a programming language as a target, not a tool. That also means a first programming language isn't that critical. It's more crucial to learn fundamental concepts than syntax-specific things.
  2. I wish to think more about before building logic, figuring out ways to break it.

I can fully relate on this, as well 👍
Programming is not what you know (syntax-wise 📚), but what you can figure out and solve (logic-wise 💡)


JavaScript promises was the major roadblock for me.


The worst case would be to jump right into promises (ES6+), without understanding the data flow in asynchronous tasks and no use of callbacks before.

I hope it's not you, as it would be pretty daunting. xdd