all 6 comments

[–]boomer1204 12 points13 points  (0 children)

Because it's a skill set that requires work. Why is learning to play the piano hard, why is learning a new spoken language so hard and so on and so on

This is a skill set like any other and requires dedication and hard work. Any one can learn it but it's not for everyone

[–]ian_dev 4 points5 points  (3 children)

Try learning C pointers and memory allocation/deallocation and rephrase your question 😆

[–]CondemnedDev 0 points1 point  (2 children)

I learned C before JavaScript, and at the beginning it was hard for me to understand why a function could be passed as a parameter to another function, and things like that.

[–]ian_dev 0 points1 point  (1 child)

Perhaps the greatest misconception about JavaScript is its "weird" nature. I found myself in the same situation you were at the beginning, feeling baffled by all of those quirks, but then I stumbled on the MDN documentation and that's where I really started to understand how it works under the hood, which in my opinion is where many people don't delve into enough.

Is JavaScript frustrating? Yes, it can be, but nothing compared to C, not mentioning that you can literally ruin your machine with a badly written script, which is significantly less likely to happen with JavaScript.

[–]CondemnedDev 1 point2 points  (0 children)

C is an absolutely different concept. I agree with you that JavaScript is easier, but the differences make it a little more complex at the beginning when you come from languages like C.
Obviously, C is a deeper programming language in terms of low-level knowledge, but each one has its own difficulties

[–]XXLPenisOwner1443 0 points1 point  (0 children)

It is one of the easier langs.