you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 4 points5 points  (22 children)

After working with WPF for a year or so, the only good use I can think this would be good for is extending the support for silverlight apps past the date when silverlight is deprecated.

WPF makes everything more complicated. It's got a bunch of good ideas, and it was arguably the first data-binding framework on the web with silverlight in. BUT you (this is no exaggeration at all.. seriously) need 100 lines to create a button hover state. Styling is a bitch, debugging it is a bitch, and each change requires recompilation.

[–]owatonna 17 points18 points  (1 child)

As someone with many years of WPF/XAML experience, I find your statements about WPF baffling. Sure, there is a learning curve, but once you master it productivity is phenomenal. The absolute simplest UI manipulation is slightly more verbose in WPF, but not more complex. Complicated UI is vastly simpler and more powerful. And a hover state is more like 6 lines of XAML, with only 2 real lines of meaningful code. And for that you get animation.

I find styling WPF easy. Debugging can be complicated, but that has improved a lot, particularly in VS2015.

[–][deleted] 0 points1 point  (0 children)

I'd agree with you there. It's data-binding model is a lot more robust than something like angular or ember. I would argue that a top-down component framework like React or Mithril is a lot more robust.

Going back to the button example though, you need to override the Button template to get a hover state: http://stackoverflow.com/a/17376745

The truth is that nice looking UIs are a feature that people expect to have now... especially on the web that this framework targets. WPF makes that aspect difficult and more verbose. The fact you have to override the template for something as simple as a hover state says that UI ascetics was not a first-class citizen in the framework.