3 ms·
I still haven't found another language like F# where it's so enjoyable to distill complexity down into expressively clean code. Every time I start with spaghet
by kirse 4y ago
I still haven't found another language like F# where it's so enjoyable to distill complexity down into expressively clean code. Every time I start with spaghetti in F# inevitably I can refactor across multiple passes and it naturally collapses into a singular easily-readable essence.
- haolez 4y agoHow's the experience of developing in F# for .NET Core? When I look into .NET C# code, it relies heavily on dependency injection and magic imports. This seems to be completely the opposite of what you would want in a functional language. Are there good solutions for this already provided? Is it a non-issue?
- xupybd 4y agoI've used a little F# and I've found that there almost non of this at the level I'm working. I use the SAFE stack and that might be happening in the ASP below but I don't notice it in F# as it's all abstracted away from me.
- pharmakom 4y agoYou can use that stuff in F# if you want to but most of the community uses F# specific libraries like Giraffe and Suave
- valenterry 4y agoScala 3 is similar. It's means of describing datastructures is more powerful than F#'s but also in many cases not quite as concise. On top of that, Scala does not support type providers (a real bummer IMO). Other than that, it's quite similar and enjoyable, especially when it comes to refactoring.