r/javascript • u/SkyTemple77 • Jun 11 '23
AskJS [AskJS] Is JavaScript actually incredibly simple?
Background: I struggled to learn JS for years, mostly because I found the syntax strangely burdensome = () => {} coming from Python ():
But now I have been using chatGPT to program frontend and the more I have GPT generate the reactjs for me, the more repetitive and simple I am finding it.
So I started to gain some confidence and today I searched on Amazon for a cheat sheet (I was actually looking for a css cheat sheet first and found one that is like 4 pages long.)
The only JS cheat sheet I could find is one page and really just has some basic info. Which felt like it was starting to confirm to me that once you get past the Ålien syntax, JS is actually pretty simple.
Am I missing something here?
11
u/[deleted] Jun 11 '23
You can do alot with javascript these days, I'd not call it simple.
What you are really describing is the fact in Web development we tend to solve the same issue multiple times across different projects. So you won't need to "see" what javascript can do.
I've found it to be very capable for the task at hand in the day to day, and found it to be extremely surprising when working on quirky hobby projects.
In terms of using it day to day, it is simple and you are right that the syntax is the only thing that "throws off" other language devs.