Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

quote: Positional arguments require mentally lining up the 7th argument in your function call with the 7th argument in the function signature, and so on.

If your function has 7 arguments, consider refactoring



If your refactoring is to make a 7-args function into a builder object (because what you're building actually needs those arguments), you're better off with keyword arguments.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: