Coworker writes functions accepting 8+ arguments, thinks it's ok

  • 3
    More variability!
  • 3
    As a member of the society of Variadic Functions, I can identify with this rant...
  • 6
    "You're allowed to write functions with 1, 2, 3 or infinite arguments, but nowhere in between."
  • 1
    Has he implemented 8 parameter-related error codes also?
  • 3
    Ugh. I was guilty of this at one point, too. I had a constructor with like 20 params. I have no idea why I thought it was a good idea. 🤦🏻‍♀️
  • 1
    named or optional parameters though?
Add Comment