Magic Numbers in JavaScript #1 | Clean Code Tutorial

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

In this video, we look at magic numbers - number variables with unclear or unexplained meaning.

We also look at how to avoid magic numbers, and best practices for naming our number variables.

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:
Рекомендации по теме