Re:TypeScript: Branded Types
by chrysoprace on Thursday April 25, 2024 @01:02AM
(#40153618)
I like classes well enough; I just find that often they over-complicate simple code, especially when you introduce inheritance. Since classes are effectively just syntax sugar I often find it's more intuitive to go with object syntax but to each their own. So long functionality is isolated in modules I'm happy.
[ Parent
| on HN ]
There are no comments on this comment yet.