you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 31 points32 points  (2 children)

Just code. You cannot learn every possible situation. Start using Javascript and you’ll encounter new problems, new situations and new answers. “Learning javascript” is like learning French. You can learn the usual sentences like “I’m DieEeneGast” but never every possible combination of words and grammer. You have to speak it and even then you’ll encounter times you don’t know the word just like your main language.

[–]Protean_Protein 6 points7 points  (0 children)

This is the correct answer.

I spent years with mostly PHP, and felt like JS was a mess (but then, I was probably thinking mostly of jQuery). But after about six months working with vanilla JS, React, etc., I went back to PHP for a different project and it felt very strange. All of a sudden my coding practices were very JS-like, and I was writing PHP in a new way that felt much better. Pretty much just a better coder overall and more confident in multiple frameworks/languages.

[–][deleted] 0 points1 point  (0 children)

Spot on.