Re:How JavaScript works: 3 types of polymorphism
by chrischen on Sunday May 09, 2021 @10:53PM
(#27102213)
The only valid use of class is to create nominal types in TS. Take a hint from the react devs, who even switched from compositional classes to functions (never inheritance though).
[ Parent
| on HN ]
There are no comments on this comment yet.