Coding Best Practices (JavaScript)
Avoid long parameter lists in method signatures
2 min readFeb 4, 2018
Actually I would say not to use more than 4 parameters. Okay?
Wait What?
It was ridicules when I first heard it. Of course we normally tend to use many parameters on a method signature. In general this is not a good practice because it becomes difficult to understand the order of parameters from the other end.