Is it a good idea to start learning programming with JS?

1    30 Nov 2019 14:40 by u/Hirion

Correct me if I'm wrong, but JS isn't exactly an object-oriented language, is it? Or should I focus on something like Python? Though I don't know if it's any good since I'd like to move to Angular or React (which one is better or a safer option?). Could you recommend any good resources. I want to focus on CS concepts as well (algorithms, data structures). Is SOLID even a thing in JS and its frameworks? What else would you recommend for me to learn? I've done a bit of programming in the past, so I have a general idea when it comes to arrays, loops, classes, constants, variables, inheritance. Basically, I want to be able to get solid fundamentals to write write clear code that adheres to industry's standards.

5 comments

0

Learn typescript.

0

People on voat keep talking about "pathological altruism" yet they get euphoric whenever they see a post about anyone who wants to get into programming because he heard it pays well or he latched on to the "learn to code" slogan.

The H1B program, "learn to code," "more women in programming" campaigners are grateful. Everyone on board the programming train!

In reality, anyone who really wants it should figure it out on his own.

Bring on the npc-frown.png reactions.

0

Just learn c, once you have even a few months in the language ceases to matter much, but starting where one must manage memory gives you the advantage of understanding that aspect, and helps prevent forming bad habits.

0

Yes, everything useful is C or some variation of it.

Java is based off of C.

C++ is based off of C.

Javascript is based off of C.

PHP is based off of C.

If you want to do web development server side you can use C... or java, or php.

If you want to do webclient side development you can use javascript.

If you want to do desktop applications you can learn C/C++/Java.

0

If you want to do Angular or React, definitely learn JavaScript. JS benefits from ubiquity and seems to keep wending its way into more application areas. The language has its weaknesses but I don't find it particularly egregious compared to most other high-level (sloppy) languages.

Algorithms and data structures do not depend on any particular computer language.

I also recommend you learn C.