3 ms·
The benefits of F# only really apply when using a 100% F# codebase. Try doing WinForms in F#...
by DaiPlusPlus 2y ago
The benefits of F# only really apply when using a 100% F# codebase.
Try doing WinForms in F#...
- Eji1700 2y agoI mean that's mostly pretty easy bindings, but yeah it's annoying that you have to do them and feels like you're losing out on the whole damn point of using F#
- Archelaos 2y agoThat F# has no native GUI framework is the reason why I stick with C#. When coding something with a GUI, the majority of my development time is typically spent in the GUI layer. The rest is some more or less straightforward object relational mapping with some validation an calculations in a business layer where I use Linq to emulate functional programming in C#. Adding F# to the game would only complicate the scenario, because I would need to connect the F# interfaces somewhere to C# anyway, requiring an additional layer of mappings in many cases.
- neonsunset 2y agoThere is! https://funcui.avaloniaui.net/ https://funcui.avaloniaui.net/
- Archelaos 2y agoIt is just a wrapper around Avalonia, which is written in C#.
- neonsunset 2y agoIt is (together with FuncUI Elmish) an extension for Avalonia to write GUI applications in F#. What difference does it make if Avalonia itself is written in C#?