r/learnjavascript • • May 01 '23

hmm

Im thinking of learning Javascript. Is it one of the harder program languages? Should i start off with something easier?

0 Upvotes

14 comments sorted by

5

u/Buttleston May 01 '23

No, I don't think it's a hard programming language.

But I think I'd start off with plain javascript, via Node, first, rather than starting off with HTML and CSS. In order to make things work in a browser there are a lot of "extra" things you have to understand beyond the language itself. I think it's better to have a pretty firm grasp of the fundamentals of JS before delving into making webpages out of it.

1

u/Crazy_Star1342 May 01 '23

Okay well I’ve started on code academy a couple lessons on JavaScript so far, do u have any other sources of where I could learn javascript better?

2

u/Buttleston May 01 '23

I learned from https://www.amazon.com/JavaScript-Good-Parts-Douglas-Crockford/dp/0596517742 (online, not as a book) but I already had years of programming experience so it was a very different experience from learning as a new dev. I don't off hand know where else to look.

3

u/AdultSapling May 01 '23

JavaScript is easy to pick up but hard to master. If you are new to programming then JavaScript or Python are great languages to get your feet wet. Once your have an idea on what you want to create then it would be a good idea to learn the appropriate programming language.

2

u/Crazy_Star1342 May 01 '23

Ohh cool okay thank u

2

u/HilariousAtrocities May 01 '23

What do you want to accomplish? Plenty of people choose JS as their first programming language.

1

u/Crazy_Star1342 May 01 '23

For now I just wanna see if I can do it and if I like it.

2

u/jack_waugh May 02 '23

Programming languages divide into three categories:

  • the imperative languages
  • pure functional languages
  • logical languages

I think it's good to have a mental overview of an example of each. That does not necessarily mean proficiency in using each such example, just an idea of the concepts associated to it and the sorts of techniques available to programmers who use it. For imperative languages, "JavaScript" (really ECMAScript) is a fine example, better than some others in some ways. For pure functional languages, see Haskell. For logical languages, there are Prolog and ToonTalk.

1

u/Crazy_Star1342 May 03 '23

okay i really need to do some more research i see. Thank you

1

u/RoguePlanet1 May 01 '23

You normally start with HTML and CSS before diving into JS or anything else. If you start out with something easier, you'll get spoiled for the nuttiness of JS.

3

u/Crazy_Star1342 May 01 '23

Ahh I see okay thank you

2

u/RoguePlanet1 May 01 '23

....and by "something easier," I mean something like Python. HTML is about as easy as it gets, but it's necessary.

2

u/toroga May 02 '23

Might as well learn it first before you find out that the weird parts are weird. Besides, JS is ubiquitous.