2 ms·
Javascript is a great language, and people who hate on it are very often just mindlessly repeating what they heard somewhere. A person I used to work with like
by calhoun137 12y ago
Javascript is a great language, and people who hate on it are very often just mindlessly repeating what they heard somewhere.
A person I used to work with liked to hate on js constantly. Then I looked at his code. He was trying to write js like it was java, because that was his background! If I wrote js like that, then I would hate it too.
If you don't know the fundamental concepts of a language, then you are clearly not in a position to take advantage of it's built in characteristics. Different languages have different "natural logical patterns" that take advantage of that languages design choices. By learning these patterns in one language, then when working in a different language if you get stuck you will have them available.
This article makes the point that you should avoid trying to do standard OOP in js, and I would generalize this idea as follows:
Every programming language has its own unique attributes, conventions, patterns, etc... when working in a new language, it's important to learn how to write in that language's style, instead of imposing a different languages style.