News for hackers. Stuff that matters.
Re:HTML5-based Windows 8 enrages .Net devs, alienates Linux ... by IanDrake on Monday June 06, 2011 @12:18PM (#2625223)
I think you're right. Also, since C# 4 there's a lot of similarity between C# and JS. That, plus an MVVM framework like KnockoutJS, make it trivial for a Silverlight developer to get started writing solid HTML/JS apps.

I just can't imagine too many Silverlight devs being upset once they see nothing much has really changed.

Re:HTML5-based Windows 8 enrages .Net devs, alienates Linux ... by wslh on Monday June 06, 2011 @12:36PM (#2625314)
Sorry, I don't see the similarity. Can you elaborate? Thanks.
Re:HTML5-based Windows 8 enrages .Net devs, alienates Linux ... by adolfojp on Monday June 06, 2011 @01:01PM (#2625413)
They both have brackets and colons. How much more similar can you get!

Joke aside, the first time that I coded in JavaScript I treated it as if it were a dynamically typed Java. Pain and suffering and confusion ensued.

Re:HTML5-based Windows 8 enrages .Net devs, alienates Linux ... by nxn on Monday June 06, 2011 @06:20PM (#2626988)
C#: var obj = new { propA = 1 , propB = "meh" };

JavaScript: var obj = { propA: 1 , propB: "meh" };

I admit that's about as close as they get syntactically, but with type inference, higher order functions, and anonymous types they really kind of "feel" similar in some cases. Oh, and C# has optional dynamic typing, so it can ~really~ feel similar if you want.

Re:HTML5-based Windows 8 enrages .Net devs, alienates Linux ... by hare on Monday June 06, 2011 @01:54PM (#2625630)
I think the similarity started more around C# 3 when C#'s syntax was changed to make functional programming less painful.