On Oct 29, 2:41 pm, Jordan Harrison <[email protected]> wrote:
> I'm not sure when and where it is best to check function parameters
> for the correct type and valid input.

This question is almost always the source of a flame-war...

> What kind of function parameter type checking do you do? Do you check
> in every function? Just the core library functions? What do you think
> about the overhead costs of checking? What kind of checking patterns
> do you use to write less code or make the process of writing it easier?

My personal approach is a bit unpopular. There was a related thread
about a year ago you may like:

https://groups.google.com/group/jsmentors/browse_thread/thread/e41c08dd7b50ae4/201681b463f68d6c

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to