ES8 Proposal: Optional Static Typing

Herby Vojčík herby at mailbox.sk
Sun Jul 19 21:29:01 UTC 2015



Filip Pizlo wrote:
> Hi Brandon,
>
> Thanks for writing this up!
>
> My personal feeling is that I’d rather ES not have static typing of this
> form. I believe it makes the language substantially more complex, and to
> me it feels best to try to minimize the growth of the language in order
> to ensure that those things that we do add are added in a compatible and
> sound way. Also, I wonder if static typing wouldn’t work out better if
> instead of extending ES, you found a way to instead make wasm
> (https://www.w3.org/community/webassembly/) powerful enough to handle
> the language that you want. The benefit of that route is that (1) there

+1

> is already support behind wasm and what I see as a broad desire to
> enable wasm to handle statically-typed object-oriented/functional
> languages, and (2) it’s a clean slate, so a proposal doesn’t have to
> worry about the compatibility issues.



More information about the es-discuss mailing list