Posts Tagged ‘function’

The ideal number 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.

Tuesday, February 23rd, 2010 at 16:58 | 6 comments
Categories: coding
Tags:
TOP