News for hackers. Stuff that matters.
Re:Why We Chose Typescript by bayesian_horse on Saturday July 01, 2017 @05:16AM (#14676212)
Few seem to have learned the "true" power of a "decent type system". Which seems to be only Haskell...

And yes, Haskell is terse. Other popular statically typed languages (Go, Kotlin, TypeScript, Dart) are not.

Re:Why We Chose Typescript by dllthomas on Saturday July 01, 2017 @10:55PM (#14680605)
While certainly Haskell lets you do more, you can get some interesting help from even the C type system. For instance, I was able to enforce "this can only be called from the main thread" with no runtime overhead.
Re:Why We Chose Typescript by tome on Sunday July 02, 2017 @12:22PM (#14683136)
You explained this once to me before and it was very cool. Did you ever write a blog post about it? I think it would be neat to link to in the future when these sort of discussions come up.
Re:Why We Chose Typescript by dllthomas on Sunday July 02, 2017 @03:18PM (#14683905)
No, I need to do that.
Re:Why We Chose Typescript by tome on Saturday July 01, 2017 @07:58PM (#14679838)
> "decent type system". Which seems to be only Haskell...

Haskell, OCaml, Elm, Purescript, arguably Scala although I don't like it personalyl.