🎓 View our courses: scrimba.com/links/all-courses
In this scrim, we start looking at how to write clean variables.
As with all clean code, variables should be:
Searchable
Readable
Understable
We should also be sure to:
Follow language standards
Limit scope
Create new variables instead of reusing them
Choose names which describe what the variable does
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:
scrimba.com/learn/cleancode
💻 Check out Scrimba’s interactive learning platform:
scrimba.com/
🌲 Linktree:
scrimba.com/links/linktree
コメント