RE: Types

2014-10-30 Thread Domenic Denicola
Use typed arrays. From: Zexxmailto:zex2...@gmail.com Sent: ‎2014-‎10-‎30 20:16 To: es-discuss@mozilla.orgmailto:es-discuss@mozilla.org Subject: Types Hello, Isn't optional typing (similar to TypeScript) a good thing? Let's say I want to do some image processing.

Re: Types

2014-10-30 Thread Allen Wirfs-Brock
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-typedarray-objects On Oct 30, 2014, at 9:27 PM, Domenic Denicola d...@domenic.me wrote: Use typed arrays. ___ es-discuss mailing list es-discuss@mozilla.org

Re: Types

2014-10-30 Thread Axel Rauschmayer
TypeScript is about static type checking (and IDE support), what you want dynamic types that are better fits for problem domains. This is a step in that direction (in addition to typed arrays in ES6): https://github.com/dslomov-chromium/typed-objects-es7