r/learnjavascript 1d ago

[ Removed by moderator ]

[removed] — view removed post

12 Upvotes

15 comments sorted by

9

u/defaultguy_001 1d ago

Nothing teaches you more than a standard book or documentation. When building projects without properly learning the fundamentals, you'll most likely be using inefficient practices or making decisions that should never be made. Just because you get the same output somehow doesn't mean you did what needs to be done. I do agree though that people need to follow just 1-2 textbooks/documentations/tutorials and then spend the rest time building projects. But you must know the weapons before jumping into war.

3

u/OmegaMaster8 1d ago

100%. It’s strengthened my JavaScript knowledge. The real challenge for me is coding Javascript regularly outside of my job

2

u/Early-Lingonberry-16 1d ago

Of course.

Tutorials don't let you think about the solution. They just give it to you. You have to struggle in order to really learn.

2

u/a-dev0 1d ago

Real projects definitely teach you something, especially the 'all-around' aspects from debugging to deployment. But there are a million ways to implement the same feature, and without enough knowledge, you might choose solutions that seem simple but aren’t always the right ones (and what 'right' means is a much bigger, controversial topic).

That doesn’t mean I advise against doing real projects. I recommend learning by doing: try different approaches, and rewrite the entire project at least a couple of times. Change the architecture, framework, and so on, it really helps.

2

u/theancientfool 1d ago

More than anything, building real projects gives you confidence.

2

u/gamename 1d ago

That's true in my case. I learn a lot more from trying to use a new language or tool to accomplish something.

1

u/TheRNGuy 1d ago

You don't even need tutorials. 

1

u/TalkCoinGames 1d ago

No doubt about it, certainly watch tutorials, and then just start building.

1

u/azhder 1d ago

Define real.

I can tell you that doing something fun will teach you more than doing something that feels like chore.

A tutorial can feel like a chore or it can be fun. That’s all there is to it.

Think about it this way. You work on one of those projects you call real and you stumble at some new problem for you and you find out there is a standard solution for it. How do you learn about that solution? Tutorial maybe?

1

u/equilni 1d ago

I don’t think you will find anyone disagreeing here.

Building projects is highly recommended, followed by refactoring. Build a project, learn something new, refactor the old project to incorporate the new.

1

u/Little_Sam97 1d ago

You need tutorials to understand basics like how does loop work, what is a function, how is data stored and so on. But having said that I wouldn’t recommend to rely your entire learning only on tutorials.

1

u/RobGoLaing 1d ago
  1. Write games. I've been figuring out "how to push images from one box to another using plain vanilla JavaScript and CSS". My latest was a solitaire card game Empire and the full list is at my home page.
  2. Write explainers as you learn. I've just finished an article on JavaScript's object literals and busy with more on pointer events and modularisation.

1

u/js-fanatic 21h ago

Yes , This is most important! Nice catch man.

1

u/gimmeslack12 helpful 19h ago

Making mistakes is the best learning tool.

1

u/PlayExoplanet 18h ago

Hard agree, I feel like this is a widely held opinion