4 ms·
Have you dismissed F# ?
by jjtheblunt 3y ago
Have you dismissed F# ?
- hajile 3y agoThe rest of the world has. If you're going to use .net, there's almost zero chance that you'll get permission to use F#. For whatever reason, C# devs seem incredibly resistant to even just looking at F#.
- pjmlp 3y agoDo you want reasons? Here are a couple from someone that has learned ML with Caml Light, and most of the latter ML variants. VS Tooling lacking versus C#/VB, no support for code generators, no support for Roslyn, no support for GUI frameworks, no support for EF tooling, many .NET vendors don't support projects if using F#, community likes to create their own wrappers instead of embracing standard .NET projects, ....
- FrustratedMonky 3y agoI would like to second F#. It seems to have a lot of what people want, so why isn't it more popular?
- anonyfox 3y agoCan I natively build self-contained binaries? One of Go's biggest advantages is the delivery chain from code to server (build for target arch, copy to target, ./run)?
- naraga 3y agoI believe you can https://learn.microsoft.com/en-us/dotnet/core/deploying/single-file/overview https://learn.microsoft.com/en-us/dotnet/core/deploying/sing...
- throwaway2037 3y agoI can vouch for it! I returned to C# for a tiny desktop GUI recently. I was blown away by how simple is the tooling to create a single monolithic binary. It's great for enterprise distribution. "No more installer."
- jjtheblunt 3y agoYes
- ontologiae 3y agoI had to deal with it, when I hadto parse Transac-SQL code, and it's not handy. Very difficult to have a single executable file containing everything, it needs a whole subtree. OCaml is easier with Opam and ocamlbuild tools.
- zidad 3y agoUnfortunately a lot of people will dismiss C# and F# just because it has the Microsoft label. I do think they're missing out.
- anonyfox 3y agoNowadays I program in a mostly Microsoft world (VSCode, Github, npm, typescript, GPT, ...) and I think its quite good, so no bias here. But the "shipping a native binary straight to the server that just works" is absolutely crucial for me
- walljm 3y ago.net will let you do that now. You can ship precompiled binaries with Native AOT. (https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot/?tabs=net7 https://learn.microsoft.com/en-us/dotnet/core/deploying/nati...)
- vips7L 3y agoAnd even before native AOT you could use publish single and have a single binary.
- deleted 3y ago[deleted]
- mmargerum 3y agoASP.NET AOT support coming in .net 8