4 ms·
> Having this would just mean that we will never ever ever get actual static typing in javascript I think we will never have enforced static typing in Javascri
by danuker 4y ago
> Having this would just mean that we will never ever ever get actual static typing in javascript
I think we will never have enforced static typing in Javascript, because of legacy code.
The solution is to use something higher level. Maybe Elm.
https://elm-lang.org/ https://elm-lang.org/
- asddubs 4y agowell, if you don't have type annotations, nothing is enforced, obviously. but you can pretty easily make it legacy-code compatible by just having type annotations be optional, but enforced if present
- deleted 4y ago[deleted]