2 ms·
Yeah, way into FP. I've used Haskell, Clojure, and hopefully some Erlang or Elixir soon, and I pretty much use functional style wherever else I can, including C
by cormacrelf 9y ago
Yeah, way into FP. I've used Haskell, Clojure, and hopefully some Erlang or Elixir soon, and I pretty much use functional style wherever else I can, including C# and JavaScript.
F# seems to be getting more attention, but I mostly just see people struggling to get EF migrations going, and it seems general ecosystem support is still shoddy (compiler bugs on .NET core 1.1? 3rd party VSCode support? official VS plugins crash all the time?). I have to use C# for work, so it's just not stable enough despite F# itself being around for ages :)
- jaegerpicker 9y agoTHat's not my experience with F#, I've used it with EF and .net core 1.1, and VS. I've been extremely happy and had little to none of the issues you listed.
- cormacrelf 9y agoI pulled it out of the drawer again a few days ago. It was lovely, I wrote a monad for asynchronous HTTP results (basically the async monad + an Either monad + some methods to produce some HttpErrors) and encoded a bunch of API functionality (including auth filters) with early returns. The only pain was not having anonymous dynamic objects in C# new { syntax = "syntax" } and using Dapper. I'd definitely like to give it a go for some bigger projects.