|
|
|
|
|
by EugeneOZ
4054 days ago
|
|
Classes is a big enough portion of sugar to change expression level of code. After writing ES6 few months I don't like to write ES5 again, when I have to, and there is a lot of people who think so. Arrow functions is the another (if not first) big thing which makes this feeling stronger, and it's just a syntax sugar also.
OO in ES5 looks less readable and less.. "native" than in ES6.
Hope in some ES version 'this' insanity will be fixed and all will be just fine with classes. just for note: I have never used "extends" in ES6. |
|