Best Practices

So, now that you know the typecheck package inside and out, let's talk about what you do with that knowledge.

When writing type requirements, work to specify the MOST GENERAL types that you wish to support, for both now and the future. The type requirements are something like a contract; you're telling users that you plan to accept anything of that type, for now and in the future. So in particular:

So, in short: too strict, bad. Too broad, also bad. Just right, good.

Valid XHTML 1.0 Transitional