Sunday, January 2, 2011

Visual Studio STILL Calls It JScript?

Just when I think Microsoft is gradually accepting some common community standards: embracing MVC, framework support of JSON, TDD...

Today I am deploying a web app to Azure, and I decide to write my current Sencha demo using Visual Studio 2010:

  • Javascript Intellisense - Check
  • Easy Packaging to Azure - Check
  • Familiar IDE - Check

I go to add my javascript file and I search for "Javascript" using the handy power tools when adding files.  I type javascript - "No items found" Huh?  Turns out Microsoft still prefers to refer to the js files as JScript files.  Really?  It's 2011.  It is supposedly to avoid trademark issues with Sun:

As explained by JavaScript guru Douglas Crockford in his talk entitled The JavaScript Programming Language on YUI Theater, "[Microsoft] did not want to deal with Sun about the trademark issue, and so they called their implementation JScript. A lot of people think that JScript and JavaScript are different but similar languages. That's not the case. They are just different names for the same language, and the reason the names are different was to get around trademark issues."

I seriously doubt that adding javascript in the name of the file you are creating in an IDE would violate trademark issues.  Every other IDE doesn't seem to have a problem it.

1 comments:

Sayed Hashimi said...

We have fixed this for the next release of Visual Studio. They will now be referred to as JavaScript files :)