Hacker News new | ask | show | jobs
by goatlover 2712 days ago
> There are a number of proposed changes to Classes, including field declarations, private methods and fields, and static methods and fields.

So make it look full on like traditional OOP with classes, I guess? I suppose the prototype folks lost this debate.

3 comments

It is interesting there is so much push towards classes now when a big part of the ecosystem (react) is moving away from them with react hooks.
I don’t really like the direction at all. What’s next, templates? Don’t understand who is really pushing for this.
Did you look at the proposal ? Declaration #name prefixed with hashtag. I really hope that won’t go thru.