DEV Community

Discussion on: What do you wish to know about JavaScript when you were in university?

Collapse
 
chrisachard profile image
Chris Achard

That's a big topic! Here are some thoughts:

  • Java and JavaScript are not the same thing. They aren't even related; the fact that they have the same base name is just a historical trivia fact

  • You'll see a lot of people criticizing javascript on the internet... most of those criticisms are fixed by ES6; but some are still valid. This is one of the more amazing talks which covers some of the potential hiccups: destroyallsoftware.com/talks/wat

  • JavaScript can run almost anywhere (browser, server, mobile with react native, IoT with some libraries...) and there are different styles and APIs for each. That can be really confusing to beginners, so I guess the advice is to just know that and watch out for it. It's also one of its super powers! Learn javascript, and you can really do full-stack anything.

  • JavaScript can be written with classes (more OO) or functions (more functional). That's confusing to beginners, but it's also one of its greatest strengths. Both types are important to learn

  • Arrays and objects (hashes) are the real meat and potatoes primitive types of data in javascript - learn to love them!

  • If you get stuck, just google "javascript [problem]" and hopefully you'll get unstuck.

  • Programming should be fun :) Don't let the warts of a language sour it for you. JavaScript (after ES6) actually is a really good language.

Those are all pretty "high level" thoughts, but hopefully it helps. I've been planning a post about how I love javascript, even though people seem to hate it - and those are most of my points :)

Good luck!

Collapse
 
mzahraei profile image
Ardalan

Have you ever seen the DEV policy you can take a problem by reason of the Link

Collapse
 
itsmenatalie profile image
Natalia

I didn't know that someone may be interested in the history of JavaScript. That's smashing! Thank you! :D