News for hackers. Stuff that matters.
Re:Is .NET just miles ahead or am I delusional? by lolinder on Saturday April 13, 2024 @08:05AM (#40022591)
You pick TypeScript because you can compile it to JavaScript by hand or in your head. The file size is smaller because there are no runtime features to bundle. When you're looking at the compiled version it's still recognizable as your code just without the types, when you're stepping through things in the debugger there are no surprises, line numbers for errors point you to places that are completely unsurprising because TypeScript is just JavaScript with a type system.

I've tried plenty of other to-JS compilers, even for languages that I love, and I still choose TypeScript every time.

Re:Is .NET just miles ahead or am I delusional? by williamcotton on Saturday April 13, 2024 @08:16AM (#40022646)
Have you even tried Fable? It’s leagues above other similar approaches and had true JS interop.

It doesn’t feel that much different than the TS compilation process. It is not what you’re expecting.

Re:Is .NET just miles ahead or am I delusional? by grugagag on Saturday April 13, 2024 @09:18AM (#40022955)
The main problem with F# is low popularity and hence gig opportunities are a lot fewer.
Re:Is .NET just miles ahead or am I delusional? by williamcotton on Saturday April 13, 2024 @09:22AM (#40022978)
That is indeed the cost. However, the talent pool is much better. This means your developers aren’t as easily replaceable so that might impact management’s decision making.