3 ms·
What hate? WPF may not be the best thing ever, but it certainly isn't totally broken either.
by tener 10y ago
What hate?
WPF may not be the best thing ever, but it certainly isn't totally broken either.
- ygra 10y agoWPF is a complex beast. It works pretty differently from every other GUI framework out there¹ and has a steep learning curve. While you can program WPF and pretend it's Windows Forms, all that gets you is not very idiomatic code and confusion why you would even put up with that when WinForms is so much easier (except maybe XAML for building the GUI). Now, there's the other extreme as well: people who pretend XAML to be a programming language and try to bash at everything with templates and styles, trying to never have to write a single line of C#. In my experience people scoffing at or hating WPF come from one of those two camps.
- achr2 10y agoI use WPF every day and it is a powerful framework. That said there are definitely aspects that are very poorly designed. It desperately needs a fork to catch up with the modern framework (no support for generic types, async Task-based commands, etc.). Not to mention that the slow measure/layout pass means that we still have UIs that 'hang' even when absolutely all programmatic work is done on a background thread.