News for hackers. Stuff that matters.
Re:HTML5-based Windows 8 enrages .Net devs, alienates Linux ... by bad_user on Monday June 06, 2011 @03:03PM (#2625939)
Microsoft should kill unsuccessful tools; internal competition is not bad, but actually good.

WPF is an abomination that was bred to torture developers - basically the Java EE of the UI world.

Also, if you ask iOS devs, they'll tell you that it's the best platform for developers, ever - the UI layer has stylish widgets that work out-of-the-box, they can share code with OS X projects in C/C++, they get to use Cocoa, XCode and the development environment is a real Unix.

And I'm also going to mention Android - while not as stylish as iOS, the development model is so close to web apps it's actually beautiful. Also the dev tools, since they leverage Java, work on ANY OS.

Also, lots of devs create Javascript/HTML UIs (served from WebViews) on both platforms, while there's special glue that accesses low-level functionality.

Microsoft would be mad to ignore this trend. They are already on a serious decline in regards to developer mind-share and the environment they provide is really closed to the outside world.

Did you know that you can share code between Android and iOS through C++? Both can run C++, both have OpenGL ES. But there's no such thing on WinMo 7, it forces you to use dotNET with Silverlight and Direct3D. That's only one mistake in a whole series of mistakes they've done and I'm wondering how much are their heads stuck up their buts.

Re:HTML5-based Windows 8 enrages .Net devs, alienates Linux ... by quanticle on Monday June 06, 2011 @03:12PM (#2626000)

  And I'm also going to mention Android - while not as 
  stylish as iOS, the development model is so close to web
  apps it's actually beautiful.
Really? To be quite honest, I found Android's development model to be closer to Silverlight/WPF than true web development. The relation between the XML-based layout language and the Java code behind reminded me much more of the relation between XAML and C# than HTML and Javascript.
Re:HTML5-based Windows 8 enrages .Net devs, alienates Linux ... by bad_user on Monday June 06, 2011 @04:13PM (#2626373)
I'm not referring to the way UI is described with XML, although as I've mentioned there are people doing UI with HTML/Javascript (see http://www.phonegap.com/ for starters).

Android apps can have multiple entry points, just like web apps by means of URLs. From one app you can jump into another app while opening a specific screen. Android apps have a functional back-button that works by default (as in, the developer doesn't have to do anything to benefit from it). Android apps are very composable as normally they expose APIs that can be used by other apps (the environment encourages it by means of intents, services, broadcast receivers and the multiple entry points I mentioned above). Android apps give the impression of being always on, since you can't rely on an app to stay alive you have to implement life-cycle management (e.g. save the user's data and the app's state as soon as you can).

What I describe above is by no means unique to Android apps (iOS apps are usually as well behaved, or even more so), but Android makes it natural. On the other hand, Android apps in Google's market look like shit but the stock widgets are getting better so hopefully people will stop feeling compelled to color their buttons blue :)