|
|
|
|
|
by wycats
5003 days ago
|
|
we get classes _and_ modules _and_ typed objects There aren't "typed objects". There is a new library for working with binary data efficiently. Classes and modules serve different purposes. Classes provide syntactic sugar for prototypal inheritance. Modules provide a baked-in mechanism for encapsulating and sharing code. same with macros and codegens Neither of these are on tap for ES6. Brendan showed them as interesting experiments that may be proposed for a future release. |
|