Minimal type guards?

Quildreen Motta quildreen at gmail.com
Thu Oct 13 12:56:01 PDT 2011


2011/10/13 Brendan Eich <brendan at mozilla.com>

> On Oct 13, 2011, at 3:29 PM, Kris Kowal wrote:
>
> > Your proposal resembles Waldemar’s guards and trademarks.
> >
> > http://wiki.ecmascript.org/doku.php?id=strawman:trademarks
> > http://wiki.ecmascript.org/doku.php?id=strawman:guards
> >
> > You might consider building on these to make a contracts proposal,
> > separating the signatures from the declarations.
>
> You all have seen http://disnetdev.com/contracts.coffee/, I hope.
>

I think it's pretty apparent from my first example :3


>
> > Alex’s question is whether some subset of these ideas is suitable for
> > rapid consensus. I will refrain from speculating.
>
> We don't need to speculate. These failed to get rapid consensus in the May
> TC39 meeting, where they were presented. Lots of issues, see the notes.
>
> https://mail.mozilla.org/pipermail/es-discuss/2011-May/thread.html#14748
>

I shall take a look at the proposals and subsequent discussions. I am not
familiar with either.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20111013/90606693/attachment-0001.html>


More information about the es-discuss mailing list