Hacker News new | ask | show | jobs
by ax 4803 days ago
I think BE is a fan of the max-min class proposal... At any rate, naming aside, ES6 classes are simple syntactic sugar for a very common pattern in JS development today. It makes sense to provide a syntactic sugar in this case that makes developer intention clear and reduces boilerplate.

TypeScript has (I believe) a mostly compatible implementation of these classes if you want to try them out in today's runtimes.