Re:Is .NET just miles ahead or am I delusional?
by AndrewDucker on Saturday April 13, 2024 @08:37AM
(#40022760)
Typescript is a superset of JavaScript. Every JavaScript file is a valid Typescript file. This is not even slightly true of F#.
I wish that instead of TypeScript, MS had just used F#.
It seems like they took some of the concepts of what can be done in F# and made TypeScript. I wish they had just stuck with F#.
It's almost like it was marketing, like they didn't like how F# was viewed so TypeScript was a re-branding.
Maybe it is because TypeScript can be considered a DSL that could be built by F#. Like Elmish.
EDIT> Yeah, not sure if enough people understand F#. You can easily build TypeScript from F#. Or maybe the downvotes are from Haskell people that just view, a functional language can build anything so it isn't worth commenting on.