What If
-
What if HTML/JavaScript really were the only way to go from Windows 8 and onward? What if you were given access to the entire .Net Framework from JavaScript? What if the IDE verified JavaScript variable types at compile time? What if Visual Studio supported a pseudo form of generics (e.g.,
var myList = new List.of(String)(constructorParameter);
)? What if the framework included full support for 3D in the canvas? What if Visual Studio included a JavaScript library capable of just as complex graphics and just as sophisticated events/binding as is possible with WPF? What if every obstacle that currently exists in JavaScript development that is possible to overcome was done so by the new Visual Studio? Would you be happy to develop desktop applications using HTML/JavaScript then? EDIT: Also, it would be perfect if Microsoft's new fancy JavaScript library was accessed via a jQuery-like variable/function, "M$". ;)Help a brotha out and vote Managing Your JavaScript Library in ASP.NET as the best ASP.NET article of May 2011.
I think it would be pretty annoying to migrate to a different syntax but with all the same class names (like in your 'List' example). And I've never found VS to be that great with jQuery (maybe I have it set up wrong). To answer your question, yes, I'd be fine with that. But, since you brought up the subject I'd much rather do HTML and C#, like this:
using System; /// code here /// body as screen? protected void MyCSharpFunction() { myWindow.minimize(); } TEXT EDITOR?