tc39 / proposal-class-public-fields

Stage 2 proposal for public class fields in ECMAScript
https://tc39.github.io/proposal-class-public-fields/
487 stars 25 forks source link

Align with the Orthogonal Classes framework #61

Open erights opened 7 years ago

erights commented 7 years ago

https://github.com/erights/Orthogonal-Classes

In this syntactic framework, public properties would be declared as

class Foo {
    own bar = 3, baz = 4;
    // ...
}

This declares and initializes a public instance properties named "bar" and "baz". See https://github.com/erights/Orthogonal-Classes for details and rationale.

erights commented 7 years ago

attn @allenwb @jeffmo