- From: Cameron McCormack <cam@mcc.id.au>
- Date: Sun, 10 Feb 2013 13:45:31 +1100
- To: Garrett Smith <dhtmlkitchen@gmail.com>
- CC: Bjoern Hoehrmann <derhoermi@gmx.net>, public-script-coord@w3.org
On 9/02/13 2:23 PM, Garrett Smith wrote: > I missed that thread. Why is it bad to have functions that have > additional properties? Actually it was "objects that are typeof 'object' but which are callable" are a bad thing, since it is not possible to implement objects like this without magic. But this computedStyle proposal wouldn't need to have typeof being 'object', so it wouldn't be as bad. I would still contend though that it is an uncommon API style and could be confusing.
Received on Sunday, 10 February 2013 02:46:08 UTC