3 ms·
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.
by 0xbear 9y ago
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.
- pjmlp 9y ago> 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.
- 0xbear 9y agoIt 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.
- mnsc 9y ago> 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".
- m_fayer 9y agoI 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.