I wrote up some thoughts on the proposal to replace the current Stage 3 class proposals with a clean slate design: https://gist.github.com/wycats/b1c96c67074396a239abd60f55087adc …
Should be a major topic of this week's TC39 meeting. Very interested in feedback.
Lots of links if you need context 
-
-
What do you think about `var` as the way to declare private instance variables?
-
It's less offensive than # on the surface, but I wonder if it might be confusing since it doesn't behave like folks have learned `var` does (access and assignment without `this->`). If `hidden concatIds(){}`, why not also `hidden ids;` for consistency?
-
-
I would object to `this.
@foo` also. I think enough languages use # for comments that it doesn't read naturally. I imagine a language that used // as an operator would have the same trouble. But `this.#something` is the worst part for me -
Can you imagine getting used to it as analogous to leading `_`?
-
-
With the shorthand as the default usage, I think it’d be way more palatable. Without dynamic/variable access or access from the exterior, I’m having trouble imagining when the ivar_get equivalent would be needed
- 4 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.