Re:Official proposal for Type Unions in C#
by Archelaos on Wednesday August 07, 2024 @03:06PM
(#41184313)
That 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.
Re:Official proposal for Type Unions in C#
by neonsunset on Thursday August 08, 2024 @04:04AM
(#41189194)
There is! https://funcui.avaloniaui.net/
Re:Official proposal for Type Unions in C#
by Archelaos on Thursday August 08, 2024 @08:24PM
(#41197746)
It is just a wrapper around Avalonia, which is written in C#.
Re:Official proposal for Type Unions in C#
by neonsunset on Thursday August 08, 2024 @09:56PM
(#41198178)
It 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#?
Try doing WinForms in F#...