I wrote an article about it. https://medium.com/@lanayx/dependency-injection-in-f-the-mis...
HN user
Lanayx
F# excels in writing domain logic where main domain entities are defined as records and discriminated unions and logic is written in pure functions. Given that product is preexisting and domain entities must already be defined, I wonder what use case do you have in mind?
For web UI we have Fable and it's integration with well-known js frameworks, also WebSharper (although it's less well-known) and Bolero (on top of Blazor)
For mobile we have FuncUI (on top of Avalonia) and Fabulous (on top of Avalonia, Xamarin and Maui). Most of these frameworks use Elm architecture, but some do not. For example I use Oxpecker.Solid which has reactive architecture.
Can't help with Scala comparison, but at least DeepSeek V3 prefers F# for UI https://whatisbetter.ai/result/F%23-vs-Scala-9eaede00c7e4485...
For reference, F# slack is already dead, community has moved to Discord https://discord.com/invite/fsharp-196693847965696000
I've just launched a product for easy AI based comparison and sharing, the feedback is appreciated.
Announcements Twitter: https://x.com/WhatIsBetterAI/status/1898026811000226244 Bluesky: https://bsky.app/profile/whatisbetter.ai/post/3ljscbmehsk2x
This is only partially true. Both Some and None were always instances of single FSharpOption class (None is actually not an instance, but null), however custom DUs are indeed compiled into classes with inheritance