Re:Why We Chose Typescript
by oceanswave on Saturday July 01, 2017 @08:29PM
(#14679994)
Unfortunately I feel that this type of example expresses what not to do with type systems -- favoring composition over inheritance goes a long way to not finding yourself in a brittle type hierarchy and especially in a JavaScript environment where composition is so easily used (and with typescript, still type checked)
[ Parent
| on HN ]
There are no comments on this comment yet.