3 ms·
>Miles ahead of what? Miles ahead of the tooling, frameworks, and features of most languages. >There is a reason that we write javascript in the browser Yes,
by coldtea 3y ago
>Miles ahead of what?
Miles ahead of the tooling, frameworks, and features of most languages.
>There is a reason that we write javascript in the browser
Yes, we're stuck with it.
>and operating systems in c or c++
Yes, the legacy.
>and telco services in erlang
Erlang doesn't have some particular stronghold in telco services. It was created by Ericsson for their own such use, but it's not like other/most telcos use Erlang. Ericsson itself even neglected (and for a period even banned new Erlang projects, preferring other languages).
>and academic works in python rather than in C# or F#
Huh? Who writes "academic works in Python"? I'm sure some do. Still many write Java, C#, and others, including C++ and even Haskell. Except if by "academic works" you meant "in machine learning and scientific computing", or "use as teaching language".
- airtonix 3y ago[dead]
- Octoth0rpe 3y ago>>and operating systems in c or c++ > Yes, the legacy. That's hardly the only reason, and certainly not the reason why new OSes are not written in .net languages.
- cqqxo4zV46cp 3y agoWhat new OSs?
- coldtea 3y agoThat's the main reason. New OSs like Fucsia have started being written in Rust, and part of OSs, including Windows and now Linux too, have also adopted it. If we had more mature systems languages suitable for OS development sooner, people wouldn't use C and C++.
- Xeamek 3y agoHave no idea why people dow vote you, you are obvously correct abiut javascript being popular because its popular, not because it is a good tool in isolation. Besides,Isn't typescript developed by the same people who made C# and also takes quite few inspirations from it?
- throwaway2990 3y ago[flagged]
- chpatrick 3y agoPeople love to complain about web development TypeScript is genuinely a great language in my opinion. The browser environment is really powerful these days and runs on everything.
- williamcotton 3y agoIf you’re going to compile a language to JS, why pick TypeScript? The Fable compiler for F# barely adds any cost on top of what TS adds in terms of dependencies, compilation and tooling and IMO gives you a much better language for developing applications. And you still get to use the JS ecosystem. Most of the cost is related to familiarity with both F# and JS, node and the browser. But once you match on a pipeline of Results you can never go back!
- williamcotton 3y agoReally, downvotes? Am I not contributing to the conversation? Has anyone else even mentioned F# or Fable?
- lolinder 3y agoYou 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.
- williamcotton 3y agoHave you even tried Fable? It’s leagues above other similar approaches and has true JS interop. It doesn’t feel that much different than the TS compilation process. It is not what you’re expecting.
- AndyMcConachie 3y ago> Yes, we're stuck with it. Google is the only company that is in a position to do anything about this and they gave up on Dart. So yeah, we're basically stuck with it.