W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2013

RE: Maybe we should think about Interface.isInterface functions again

From: Domenic Denicola <domenic@domenicdenicola.com>
Date: Sat, 20 Jul 2013 20:54:25 +0000
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: Anne van Kesteren <annevk@annevk.nl>, Travis Leithead <travis.leithead@microsoft.com>, "public-script-coord@w3.org" <public-script-coord@w3.org>
Message-ID: <B4AE8F4E86E26C47AC407D49872F6F9F8785862B@BY2PRD0510MB354.namprd05.prod.outlook.com>
I see what you mean, and certainly adding predicate methods for everything is not a path forward. Hmm.

But, I still think phrasing this in terms of "is a node" vs. "isn't a node" isn't the right way to think about it. To go back to our favorite prototypical inheritance examples, Dog.prototype is definitely an Animal, even if it's not one that you'd expect to be chasing after frisbees.

Is there a natural, useful domain concept that is struggling to get out? Something like "can be used within a document" or "can be used within this specific document"?

Received on Saturday, 20 July 2013 20:54:58 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:50 UTC