DEV Community

Maciek Chmura
Maciek Chmura

Posted on • Edited on • Originally published at maciek.cloud

How NOT to learn JavaScript

A few years ago when I was starting my journey as a programmer I asked my friend(an unnamed hero, who is an awesome programmer) a question:

  • How can I learn JavaScript?

He answered:

  • You don't want to learn JavaScript, you want to learn how to program.

I didn't understand it then. I wanted to learn JS. I wanted to learn React, and Node, and WebGL.

And then I made lots of mistakes trying to. I've hit a roadblock after a roadblock when I was struggling to understand some basic concepts.

I remember a specific point in time when my Unnamed Friend was trying to teach me about data structures. When we got into hash maps I was so frustrated that I saved the file with the exercise as "some stupid 💩.js"
Why would somebody even need this!!??

I was in the pit of despair...

pit of despair

I got here by following some advice found on the internet that was not suited for me.
I wouldn't say it was wasted time because all experience is valuable. But I've could use this time more efficiently.

Here is my opinion what NOT to do:

  • Don't do Advent Of Code. Instead of learning some good practices you will try to finish the task at all cost. This can produce really ugly code with lots of if statements.
  • Don't read Eloquent JavaScript Don't get me wrong, this is a good book, IMHO not good for beginners without a CS degree. It tries to teach you JS by solving complex problems with lots of abstractions.
  • Don't read You Don't Know JS. Again, great books but too complex for start. Get back here in a year or soo.
  • Don't learn frameworks. React, Vue, Angular. You need to know what problems these frameworks solve in the first place.
  • Don't jump from tutorial to tutorial without practicing what you learn. You can easily fall into watching an endless stream of YouTube videos. Probably you will not remember most of it the next day.

In the next post, I will present a way that helped me get out of the pit.

Top comments (13)

Collapse
 
codelitically_incorrect profile image
codelitically_incorrect

Excellent points,
especially the "Don't learn frameworks" bit -- this
is most important.

Collapse
 
maxiqboy profile image
Thinh Nguyen • Edited

Instead of Eloquent JavaScript or YDKJS, newbies can get a lot things in javascript.info

It's good and easy to follow for beginners!

Collapse
 
maciekchmura profile image
Maciek Chmura

Yes! This is perfect resource.
I get back to it all the time.

Collapse
 
maxiqboy profile image
Thinh Nguyen • Edited

Beside JS, it also got a lot thing like write clean code, debug by google chrome debugger ... that hard to see in other resources.

I wonder why it is not so famous on the senior's advice to the newbie?

I mean maybe 90% advice is about EJ or YDKJS.

Collapse
 
leandroruel profile image
Leandro RR

Cool, waiting next part

Collapse
 
coolastro_com profile image
Cool Astro

929 Angel Number We love astrology so defiantly we can write real and good content over astrology and numerology. I hope you guys love our content and if somehow we are helping in increasing your knowledge about astrology, angel number etc.

Collapse
 
tasesmuemils profile image
Emils Bisenieks

I was thinking about reading Eloquent JavaScript, but I will wait for next part of this post :)

Collapse
 
maciekchmura profile image
Maciek Chmura

Hopefully next week ;)

Collapse
 
maxiqboy profile image
Thinh Nguyen

Can't wait to see the next one ;)

Collapse
 
nanythery profile image
Nadine M. Thêry

Great adivce Maciek. I did make all of those hahaha.

Collapse
 
elliotthomas2 profile image
ElliotThomas2

We adore astrology and numerology, so we can confidently write authentic and useful content on the subject. I hope you like our material and that it helps you learn more about astrology, angel numbers, and other related topics.

711 angel number twin flame

Collapse
 
powerfulmantras profile image
PositiveAffirmations

Since you are talking about numerology, I suggest you check angelnumerology.org.

Collapse
 
keith_greer profile image
Keith Greer

Looking forward to the next.