4 ms·
F# 10
- nozzlegear 9mo agoI use F# every day, both in my open source and professional work. Love seeing the language continue to improve without going off the rails! I'm looking forward to using the "and!" computations in this release in particular (though I swear they'd already been released). Edit: oh this post is from November! That's why I thought I'd read about those computations before.
- r2ob 9mo agoWhat kind of problem made you pick up F#? it seems pretty cool
- nozzlegear 9mo agoIt's been ages since I started using it, but I don't think it was any problem in particular. I think I just happened to watch a video by Scott Wlaschin one day and was intrigued by the weird language and the things he was doing with the type system, having only been familiar with object oriented programming at that point in my life. I kept coming back to it and eventually it became my bread and butter. What I like most about it is the type system (discriminated unions, etc.). It's really powerful and intuitive, without letting me go overboard "big braining" the perfect type for every situation like I tend to do with e.g. typescript or haskell. F# is also great because we can access the full dotnet runtime and nuget ecosystem. I have several projects where I mix C# and F#, and they're perfectly compatible.
- r2ob 9mo agoNice!
- vips7L 9mo agoNot who you asked, but I decided to try F# after reading “Domain Modeling Made Functional” which uses F# and is one of the best books I’ve read on domain driven design. I cannot recommend it more. That being said, F# wasn’t really for me and applying the ideas from the book into other languages has been a better fit for me.
- r2ob 9mo agoThanks for your comment. What about the team? I mean, it's not just for one member right?
- olivia-banks 9mo agoI use OCaml, occasionally, especially for data/transpiler work. I've always wanted to try F#, but it being .NET sort of scares me away. I've always sort of admired the pragmatic beauty of the OCaml ecosystem--at least as much as one can call an ML-derivative 'pragmatic'--though I don't get that same feeling from F#. Task expressions look neat though, and might give me a reason to try.
- sieep 9mo ago.NET is really good nowadays & does well cross platform, absolutely worth trying.
- mulmen 9mo agoIs it fully open source so it can survive being abandoned by Microsoft?
- sieep 9mo agoFrom my understanding, .NET, C# F# are all open source. The main thing in the tool chain that isnt is Visual Studio but most people can get by with VS Code
- adabyron 9mo agoHighly recommend using JetBrains Rider instead if you want the best IDE experience. It's not a Microsoft product & is used by a large percentage of .NET devs.
- sieep 9mo agoYou are correct to mention that especially since theyve eased up on their licensing recently, I had in mind that it was still paid for software like Visual Studio. Rider is much better for .NET than VS code!
- estimator7292 9mo ago
- bairymr 9mo agoI wish SML had a community like F#
- emmanueloga_ 9mo agoI got into OCaml for a while, which naturally led me to try F#. What pushed me away back then was that the tooling lagged behind C#, especially in VS Code, and the C#/F# interop wasn’t as ergonomic as I expected. I liked the idea of using F# for the core and C# around the edges, but it didn’t feel smooth in practice. This was years ago, so maybe the tooling has improved since. I’ve always wondered whether tighter integration with C# would have led to broader adoption, though that might have changed the character of the language.
- dlahoda 9mo agowhen you tried? i have heard it improved over time
- emmanueloga_ 9mo agogood point, could be some 10 years ago now, I think...