Troels Lauritz Reese Christensen

January 31, 2023

JavaScript is hard

 A few days ago, I wrote a small post about JavaScript being easy. While I still stand by what I wrote, I had a small epiphany today while watching an online class on algorithms. In the course, the teacher is showing examples, talking about arrays using JavaScript. This is when it hit me. I know why I was struggling a little more than I should have, when first learning about JavaScript.

The thought isn't really new to me, but it fully crystalized today. Learning JavaScript was hard because you don't declare types. Part of makes JavaScript's learning curve so easy is how forgiving the language is. You can just throw stuff at the screen, and the JavaScript compiler will just guess what you meant. At least, it feels that way :)

When learning something new, I find it hard when I don't understand why things are happening. My frontend career took off hastily and I didn't look back for a long time. I was just cruising along making stuff, having a great time. I never stopped to build a proper foundation, it feels like. After having used Typescript for a while now, digging into rust, and learning about more traditional computer science subjects, I am starting too see the bigger picture.

I guess what I am trying to say is that learning the easy way sometimes isn't the best way. In my case, my college application was rejected, so I kind of just had to make my own path into engineering. I always wished I could have learned some great fundamentals before struggling with programming on my own. Alas, it was not meant to be. So if you are struggling, go do that. Learn some Basic... s!

-Trolz

About Troels Lauritz Reese Christensen

Hey! Welcome to my brain.
This is a place where I dump my thoughts when I run out of random access memory.
trolz.dk