Avoid Code Comments by Refactoring JavaScript | Clean Code Tutorial

preview_player
Показать описание

In this video, we take a look at improving our code can reduce the need for comments.

Learning clean code is one of the best career investments you can make. By spending one hour to learn the fundamentals, you get to reap the benefits across all your future code bases. It's 10x the payoff for the effort.

🔧 Play with this code on Scrimba:

💻 Check out Scrimba’s interactive learning platform:

🌲 Linktree:
Рекомендации по теме
Комментарии
Автор

At school we were forced to make those comments on every line 💀😅
My issue is that the comments aren’t actually following the code. So I have to read notes for the function that moved away or changed 😄

sergeyb