4 ms·
I second F#. You have access to the full .NET Standard library as well as all of the open source libraries available. I personally found it more of a joy to use
by partisan 9y ago
I second F#. You have access to the full .NET Standard library as well as all of the open source libraries available. I personally found it more of a joy to use than Scala, but that may be due to my knowledge of and experience with .NET.
F# on .NET Core is stable and there are templates for an F# web application.
- carlmr 9y agoI also find F# a joy to work with. Not only because it's .NET which I find nicer to work with than the JVM, but also because it feels more well thought out and less every feature except the kitchen sink, like Scala. They're both great languages though. Scala >> Java, and F# > C# (more due to C# already being better than Java).
- brightsize 9y agoI'm an experienced Scala dev but after reading the "fun and profit" ebook F# looked really interesting. Naturally I tried to take the next step of creating a small webapp with it on a Linux dev machine. Unfortunately I ran into a lot of problems identifying and setting up the needed tools and frameworks on Linux and eventually gave up. My assumption was that the tooling+frameworks were likely "not quite there yet" (late 2017) for Linux but I'd love to be proven wrong. Any suggestions for an up-to-date tutorial on "web development using F# on Linux"?
- xstartup 9y agoI had same experience before. But I request you to give it a try now. The experience is much better now!
- brightsize 9y agoI'm glad to hear that, I will definitely try again. F# looks pretty sweet and I have a couple of half-baked Scala side-projects that might port nicely to F# and Suave.
- edgarsanchez 9y agoFor a from zero to "Hello world!" no frills installation try https://medium.com/@edgarsanchezg/four-easy-steps-for-installing-f-in-ubuntu-linux-88122323f12b https://medium.com/@edgarsanchezg/four-easy-steps-for-instal.... Then, you can go on to https://www.demystifyfp.com/FsApplied2/ https://www.demystifyfp.com/FsApplied2/ great e-book (not free, but really inexpensive) on building F# webapps with suave.io
- brightsize 9y agoThanks for the pointers, I will definitely check both of these out. In my last attempt I got to the "can compile 'Hello World' from the command line and even debug it in VSCode" stage but after that things quickly went off the rails IDE-wise. I even tried MonoDevelop (did some C# work with it long ago) but IIRC the Xamarin stuff was barfing on one or more asp.net dependencies. Hopefully one of your links will be to an "Idiot's guide to F# on Linux" and then I'll be in good shape. :-)