4 ms·
Strongly typed was one of the problem I found. TypeScript offers a better alternative to typing on the web because it keeps the compatibility with javascript an
by fknop 9y ago
Strongly typed was one of the problem I found. TypeScript offers a better alternative to typing on the web because it keeps the compatibility with javascript and also have a real any type when it's really necessary. Typescript now can import raw js without types definitions unlike Scala.
- lmm 9y agoI believe Scala can use javascript libraries either dynamically or with type definitions in exactly the same way as TypeScript? I tried to use TypeScript but the type system just wasn't good enough; when you've been working in a strongly-typed language like Scala for a while, a language without nominal types or HKT just isn't going to cut it.
- th1nkdifferent 9y agoCould you illustrate, preferably with an example, how weak type system would have worked better than a strongly typed system?