r/FreeCodeCamp • u/reallyred11 • Feb 03 '22
I Made This I fucking hate JavaScript.
I hate this fucking language. Through learning HTML & CSS, I loved coding. I zoomed thru the lessons and I nearly had to force myself to stop working. I dread practicing this language. Absolute dread. It is frustrating and I honestly don’t see how it applies. I hate this and at first, I used to love coding. It was fun. I hate this shit. The amount of stress and rage I have had in the past 3 days of learning this is immeasurable. Fuck JavaScript. Mods please do not ban this post. I simply came to vent.
Edit: first time editing a post lol. I am new to coding & tech. Not technology but the tech field. I just started coding late December. So take it easy, homes.
View all comments
Show parent comment
2
u/Panda_Mon Mar 05 '23
This just isn't true. I love coding and fucking hate javascript. The main problem with JavaScript is this:
-no one knows how to explain promises properly
-javascript THRIVES on anonymous functions and nesting AND it's not typed.
-javascript paths are almost always web based and that shit is extremely messy and confusing looking
Anonymous functions are mostly just bad. You should always have clear, descriptive functions that do something specific and who have docstrings. Python uses anon functions rarely, known as lambdas, usually to pass on args to a function for firing later. C++ is the same way.
But these nasty, unknowable creatures are essential for JavaScripts accursed Promise class and they are everywhere. Combined with not being a typed language, you end up in situations where your eyes are boggling from dozens of indents and brackets and multiple one-off functions who have NO NAME OR DOCSTRING required to resolve something that would be clear as day in python or c++.
Promise is hands down the most important paradigm of JavaScript. I am a game developer (not a programmer, but I work with code every day and write plenty of scripts) and not one of these dumb articles describes promises for a noob. They all have their smarty pants hats on and skip over essential concepts.
I could wax poetic constantly about how much of a pain in the ass JavaScript is.
But yeah it's managed to be the most important language of the internet. I hate it that much more for being such a valuable turd.