Ideas on type hinting and named parameters
joeedh at gmail.com
Wed Jun 10 16:10:11 UTC 2015
I will accept any syntax that can pass muster (the weird hybrid between
colon and C style I came up with is never getting in :P) btw, I do think
having generics/template syntax is useful (at one point I was planning on
implementing templates in my transpiler, which is why I support the
syntax). At least I find it helpful.
However, it did require Yet Another Cover Grammar, so I dunno if it's
On Jun 8, 2015 9:19 PM, "Luke Scott" <luke at webconnex.com> wrote:
> Hello All,
> I wanted to share some ideas with you for type hinting:
> I’m also putting this together for named parameters:
> The two are somewhat related. The type hinting doc uses white-space
> instead of a colon. And in the named-arguments doc a colon is used for
> named arguments.
> I realize that there may be some strong opinions on a colon vs
> white-space. Using white-space instead is an attempt to be compatible with
> existing ES syntax (POJO uses colon already), while allowing for other new
> features, such as named parameters.
> Looking for feedback and any interest on any of the above.
> es-discuss mailing list
> es-discuss at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss