by voidUpdate · 2y ago · 0 comments
Winforms lol, it just works and I don't have to spend most of my time trying to work out xaml stuff. Just add the components to the window, set up some event handlers, done
Best decision ever. I know plenty of dotnet folks who would rather eat a shoe than learn how to build a web front end, but frankly it's still better than what I would get with Winforms. There's so many great free libraries, tutorials, and resources for webdev.
And best of all, now I have something I can host on a free GitHub site and share with people, instead of figuring out how to build an installer.
It is interesting that the author chose to use Elm to describe C# code. If it is their preference, they could have gotten all that with writing the "core" of the project with F#, without having to change examples neither in the actual implementation nor in the blog post (the author does mention F# but not whether they looked into using it).
I wonder how the mobile support is.
There's an Elmish FuncUI extension for Avalonia that lets you write applications in Elm style: https://github.com/fsprojects/Avalonia.FuncUI/tree/master/sr...
(a caveat applies that it is very niche compared to regular Avalonia let alone WinForms or WPF, so the options for idiomatic graphing ui controls might be scarce)
Of course it's often a little less performant and requires Learning New Things. But generally the trade-off is worth it for the significant benefits if you want to share it with the most people.