On 06/20/2013 08:00 PM, Nicholas Nethercote wrote:
> I agree that doing the same thing inside and outside SpiderMonkey is 
> preferable.
>
> I slightly favour using typedefs, to minimize keystrokes.  For the
> weird bz case he can use explicit template syntax.
>
I definitely prefer not using the typedefs. Reading is more important
than writing, and the typedefs introduce an extra level of indirection:
"What is HandleString, exactly, again?" It's really nice to see
Handle<JSObject *> and not have to ask further questions. And the
typedefs are not significantly shorter, visually.

If there isn't a consensus, this is the kind of decision a maintainer
could make, if it's really an issue at all.

_______________________________________________
dev-tech-js-engine-internals mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

Reply via email to