The ideal numbers of arguments for a function is zero (niladic). Next comes one (monadic), followed closely by two (dyadic). Three arguments (triadic) should be avoided where possible. More than three (polyadic) requires very special justification and then shouldn't be used anyway.

— Robert C. Martin

#functions

@programming_quotes don’t worry they’ve found a genius work around: shove your 20 parameters into a POJO and viola it’s a monadic function 🙄
@programming_quotes Interesting... I wonder why. Encouraging reduced coupling, I suppose?