3 ms·
Have you taken a look at what can be done in functional languages (perhaps F#) ? I'm just starting to get into them [0] and it's been really fascinating. Jet.c
by wikibob 9y ago
Have you taken a look at what can be done in functional languages (perhaps F#) ? I'm just starting to get into them [0] and it's been really fascinating.
Jet.com has an interesting post on why they chose F# for similar reasons [1]
[0] I'm working through the How to Design Programs book from Matthias Felleisen which I highly recommend despite its rough edges http://www.ccs.neu.edu/home/matthias/HtDP2e/ http://www.ccs.neu.edu/home/matthias/HtDP2e/
[1] https://tech.jet.com/blog/2015/03-22-on-how-jet-chose/ https://tech.jet.com/blog/2015/03-22-on-how-jet-chose/
- cormacrelf 9y agoYeah, 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.