Better Developer Experience with function arguments as an object
Write more readable code and help your colleagues and yourself
Passing an object as an argument is easier to read when you use the function in other places. The function also gets the added benefit of more flexibility when editing as the order of the arguments doesn't matter anymore. In this small guide I'll show you why and how.