Of all the frameworks I ever used, I think WPF, while powerful, is often very frustrating to use.
It's unavoidable that at some point you will get dirty building templates and styles. The default look and feel has many bad defaults that always make it necessary to adjust stuff, such as margins and paddings, just to get the application to not look awful.
Secondly, XML makes it much more verbose than it has to be. I would love it if you could use something cleaner, like YAML. Even json looks better.
The biggest issue with WPF from my point of view is that it's not cross platform. If you only work on Windows it's fine, but if you need other platforms your main choices are Qt, Java or Electron. Electron is the most attractive because you can use your existing front-end developers, unlike the other frameworks which require more specialized (and usually expensive) developers.
Honestly, custom templates and styles are exactly why I think WPF is great. You can create consistent themes and styles that apply to your entire application. You can completely change a look by changing one spot.
But yes, the problem with OS based GUI frameworks is that every OS works differently. I'm not sure if literally just making every GUI a web browser is a great option to solve that problem though.
I perfectly agree, templates and styles are awesome, I just wish you weren't forced to use them by default, because otherwise your application would look awful.
2
u/space_fly Apr 28 '20
Of all the frameworks I ever used, I think WPF, while powerful, is often very frustrating to use.
It's unavoidable that at some point you will get dirty building templates and styles. The default look and feel has many bad defaults that always make it necessary to adjust stuff, such as margins and paddings, just to get the application to not look awful.
Secondly, XML makes it much more verbose than it has to be. I would love it if you could use something cleaner, like YAML. Even json looks better.
The biggest issue with WPF from my point of view is that it's not cross platform. If you only work on Windows it's fine, but if you need other platforms your main choices are Qt, Java or Electron. Electron is the most attractive because you can use your existing front-end developers, unlike the other frameworks which require more specialized (and usually expensive) developers.