Hi, I wrote a little utility to help out with checking status of objects. More specifically, checking their conformance with a "signature" that you provide along with the check.
It is partly meant to help out when expecting "quacker" objects to be sent as parameters to your functions - you know, to see if they stand a chance in your pond :) I am interested in opinions on it all - the writing, the code (usefulness/implementation/etc). Here's a link to a blog post: http://npup.se/blog/2011/03/11/year-of-the-duck/ , and here's the github repo with tests etc.: https://github.com/npup/ActsAs Thanks in advance /P -- 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]
