Improve JavaScript Function Usability with Proper Argument Order in Functional Programming

InstructorKyle Shevlin

Share this video with your friends

Send Tweet

This lesson teaches you to order the arguments of your functions following functional programming principles. By ordering our arguments in a specific way, we allow our functions to benefit from partial application, improve reusability, and enable composition of functions. Specifically, we will focus on always providing the data as the last argument to our functions so that the result of one function can be piped as the argument into another function.