Lesson

Refactor Named Parameters to Function Composition

We often rely far too heavily on adding parameters to our functions when writing a new function would give us much more flexibility and power. This lesson goes through refactoring a named parameters example to using composition instead to show the thought...

Duration
6 min
Access
Free
Transcript
Needs source

We often rely far too heavily on adding parameters to our functions when writing a new function would give us much more flexibility and power. This lesson goes through refactoring a named parameters example to using composition instead to show the thought process on how you think about parameters, functions, and data.