Re:Build .NET Desktop Applications Using HTML, CSS and JavaS...
by 0xbear on Tuesday November 14, 2017 @10:08PM
(#15701184)
WinForms is essentially “inspired” by VCL, through Anders Hejlsberg I guess. As are some parts of C#. WPF otoh is inspired by corporate brain damage.
[ Parent
| on HN ]
Re:Build .NET Desktop Applications Using HTML, CSS and JavaS...
by pjmlp on Wednesday November 15, 2017 @02:14AM
(#15702010)
> WPF otoh is inspired by corporate brain damage.
Not at all, WPF is like having a monoid in the category of endofunctors for UI programming.
Its concepts of UI Lego style building blocks, with templates, commands, mvvm, multi-binding, storyboards..., might be hard to grasp if one is happy with plain code-behind snippets, but once one gets it, it is quite powerful way to write large scale UIs.
Re:Build .NET Desktop Applications Using HTML, CSS and JavaS...
by m_fayer on Wednesday November 15, 2017 @07:06AM
(#15703182)
I don't know any of that terminology or category theory in general, but I'd like to assure anyone who cares that you really don't have to to get the elegance and power of WPF. It was a steep learning curve sure, but totally worth it. As far as visual control, elegance, and development-pleasure, I think it far surpasses WinForms, the Android UI toolkit, Cocoa, and the web stack. (Though XAML is annoyingly verbose.)
The only reason I stay away is because of the performance issues, and the opaque ways in which performance degrades.
Re:Build .NET Desktop Applications Using HTML, CSS and JavaS...
by mnsc on Wednesday November 15, 2017 @06:46AM
(#15703093)
> WPF is like having a monoid in the category of endofunctors for UI programming.
Takeaway: I will start using WPF right after I get a solid grasp on category theory. That will happen "very soon".
Re:Build .NET Desktop Applications Using HTML, CSS and JavaS...
by 0xbear on Wednesday November 15, 2017 @02:57AM
(#15702175)
It might be powerful, but if something goes wrong it’s impossible to debug. That alone negates all of its advantages to me. I don’t like magic I can’t debug or see source code for.