4 ms·
Eh, there's still TypeScript and Flow. Myself, I'm a fan of the latter.
by CapacitorSet 9y ago
Eh, there's still TypeScript and Flow. Myself, I'm a fan of the latter.
- alkonaut 9y agoMy point was: all those typecheckers and languages are there because the people who like types and javascript go off and write a typechecker or language. So they don't have to deal with javascript types. Typescript and Flow are two such examples.
- monsieurbanana 9y agoI understand your point, it's simply wrong. If those people didn't want to use javascript, they could have migrated to something else altogether. Clojurescript, Elm, Dart, RustJs, ... Instead they kept Javascript with a type system on the top (typescript, purescript, flow, ...).
- Double_a_92 9y agoDart could have been so beautiful T_T
- alkonaut 9y agoSome are supersets of JS, some are not. Elm, Fable, etc are examples of languages not just extensions. The reason for using an extension/superset is usually not because JS is terrific but because gradual/partial migration and interop are more important than a better language.
- alkonaut 9y agoBefore anyone points it out: Fable isn't a lanugage, it's an F#->JS compiler. It's "programming JS without programming in JS" though, so it's another language used in that sense.