Function Arguments

February 23rd, 2010 | Tags:

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.

  1. February 24th, 2010 at 10:22
    Reply | Quote | #1

    I read blogs on a similar topic, but i never visited your blog. I added it to favorites and i’ll be your constant reader.

  2. February 24th, 2010 at 16:01
    Reply | Quote | #2

    Are you a professional journalist? You write very well.

  3. February 27th, 2010 at 20:26
    Reply | Quote | #3

    I really like your blog and i respect your work. I’ll be a frequent visitor.

  4. March 25th, 2010 at 18:30
    Reply | Quote | #4

    I liked it. So much useful material. I read with great interest.

  5. April 3rd, 2010 at 02:16
    Reply | Quote | #5

    Thank you! You often write very interesting articles. You improved my mood.

  6. June 17th, 2010 at 13:14
    Reply | Quote | #6

    Hi, I’m very interested in Linux but Im a Super Newbie and I’m having trouble deciding on the right distribution for me (Havent you heard this a million times?) anyway here is my problem, I need a distribution that can switch between reading and writing in English and Japanese (Japanese Language Support) with out restarting the operating system.