4 ms·
> why does (language explicitly designed to compile down to JS with 0 adaptation layer) have to be less graceful than (thing made by the same people but with no
by explaininjs 3y ago
> why does (language explicitly designed to compile down to JS with 0 adaptation layer) have to be less graceful than (thing made by the same people but with no such constraints)?
Hm.
- jdthedisciple 3y agoGenuinely trying to understand. Argued from first principles: Since TS is a superset of JS, we can assert that the both constitute opposite ends on the spectrum of static typing. Thus, surely there are infinitely many levels of possible gracefulness in-between? IOW: If JS can live with no constraints, then why can't TS live with with slightly more graceful ones than the current?
- explaininjs 3y agoThat’s called adjusting strictness flags.