Clean Functions: Limiting Parameters | Clean Code Tutorial

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

Limiting the number of parameters we use in our functions allows us to keep our code clean and readable. In this video, we look at how to refactor a function to achieve this.

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