2 ms·
> Looking at it the other way, Typescript is really lacking nominal typing and the safety and simplicity that it provides. True. > Structural typing isn't nee
by valenterry 5y ago
> Looking at it the other way, Typescript is really lacking nominal typing and the safety and simplicity that it provides.
True.
> Structural typing isn't needed if you don't care about Javascript / dynamically typed coding patterns.
I think this idea of yours is limited to what you do with Scala. Ofc, in Javascript you don't need it, because types don't restrict you. But do datascience or dataengineering and it becomes painful quickly - look at spark frameless for example. It needs a lot of typelevel machinery to make it work. "easy" is different.