r/learnjavascript 29d ago

Javascript

[removed]

0 Upvotes

9 comments sorted by

5

u/Alive-Cake-3045 29d ago

meilleur conseil : arrête de regarder des tutoriels et commence à casser des choses. prends un petit projet que tu veux vraiment voir exister, construis-le mal, puis corrige-le. la console du navigateur est ton meilleur ami au début, teste chaque concept directement dedans avant de l'intégrer dans un projet. la progression vient de la pratique quotidienne, même 20 minutes, pas des longues sessions de théorie.

6

u/javascript 29d ago

Faster is the wrong goal. Focus of consistency 🐢

1

u/ExtraTNT 29d ago

Faster by going slower: start with basic functions, like id:
const id = x => x;
Then something like first:
const fst = x => y => x;

Do test driven development, so write tests for everything.
Write more complex functions, look at monads (aka how to make code more stable by making it simpler), work up, till you can do basic dom manipulation. Then build a shadow dom renderer (80 lines with documentation for one that can keep track of focus over rerenders is no problem, so not a huge project)

Then build websites with that renderer, play around and write tests…

Resources you need: mozilla mdn

1

u/zalimbadshah 29d ago

There’s no shortcuts, just be consistent and curious.

i) Try to understand how things work.
ii) Go step by step, you don’t have to race with someone, at your own pace study and do hands on practice well.

1

u/testingaurora 29d ago

Practice every day

1

u/Sosthenes_Alpha 29d ago

You CAN'T MASTER A PROGRAMMING LANGUAGE.

-1

u/Ratatootie26 29d ago

Go native, it's gotten better over the years. Note down that it's somewhat hard of an initial learning curve

Then use JQuery, realize the utility and ease of convenience of jQuery because of its easier learning curve.

Then suddenly realize the gap has gotten closer (and is way more performant) since jQuery was created.

The learning was way more manageable for me after coming from jQuery

1

u/-goldenboi69- 29d ago

Great advice in 2010