The New Class Syntax

The New Class Syntax
0

#1

Coming from Python, I felt uncomfortable with the JS practical approach to inheritance. Coming from Python this seemed to me somewhat unintuitive.
I was happy to read yesterday about the new Class Syntax, and even though it’s ‘synthetic sugar’ it seems to solve the problem, and allow a rather intuitive and comfortable Object Oriented approach.
What do u think?


#2

Sintactic sugar, not synthetic :joy:
It means it’s not a new functionality but another way to write an existing concept :wink:

Coming from ES5 Javascript I find this a bit nonsense and overly complicated, not that “normal” JS is much better…but I think I just have to get more comfortable using the new syntax to see the advantages.