Script# (Script Sharp) – writing javascript in C#

My blog has moved. You can view this post at the following address: http://www.osherove.com/blog/2009/8/11/script-script-sharp-writing-javascript-in-c.html
Published Tuesday, August 11, 2009 6:18 PM by RoyOsherove
Filed under: , ,

Comments

Tuesday, August 11, 2009 7:06 PM by Marc Brooks

# re: Script# (Script Sharp) – writing javascript in C#

You _should_ care about the generated code, because it lets you do things server-side the same way they are done client-side. You know, like for browsers with JavaScipt turned off (mobile, 401K, etc).

# Web 2.0 Designer » Blog Archive » Script# (Script Sharp) ??? writing javascript in C#

Pingback from  Web 2.0 Designer  » Blog Archive   » Script# (Script Sharp) ??? writing javascript in C#

Tuesday, August 11, 2009 8:32 PM by Harry M

# re: Script# (Script Sharp) – writing javascript in C#

I've used Script# a LOT, and until it open sourced or there is professional support behind it, I'd advise against using it in production. Latest Release: 8/28/2008. It used to have a support forum, not any more. Use jsc or something, but relying on an unsupported incomplete framework is going to boil down to trouble. It did forus.

PS given that office 2010 was written in S#, maybe we'll see the MS internal version

sometime soon. Here's hoping...

Tuesday, August 11, 2009 8:49 PM by Steve

# re: Script# (Script Sharp) – writing javascript in C#

Libraries like jQuery really help in javascript development.

That being said, I see jQuery addin you mention, what about all the plugins for jQuery ?

The true power imo of jQuery are the tons of user contribution plugins.

Tuesday, August 11, 2009 11:09 PM by Jimmy Bogard

# JavaScript: A tool too sharp?

Ehhhh…no. But, Roy Osherove believes so .  When I first started JavaScript, I thought so too. 

# Script# (Script Sharp) ??? writing javascript in C# - ISerializable …

Pingback from  Script# (Script Sharp) ??? writing javascript in C# - ISerializable …

Wednesday, August 12, 2009 2:40 AM by zproxy

# re: Script# (Script Sharp) – writing javascript in C#

As a reference;

The jsc compiler will take the next step and decompile MSIL to javascript, actionscript and java.

http://jsc.sf.net

Wednesday, August 12, 2009 3:17 AM by Haggai shachar

# re: Script# (Script Sharp) – writing javascript in C#

Take a look at Google's amazing project - GWT (and its extentions GWT-EXT).

This is where the project you mention should inspire from.

# Script# (Script Sharp) ??? writing javascript in C# - ISerializable … « Writing

Pingback from  Script# (Script Sharp) ??? writing javascript in C# - ISerializable … «  Writing

Wednesday, August 12, 2009 3:57 PM by Vlad Azarkhin

# re: Script# (Script Sharp) – writing javascript in C#

The thing is Javascript differs very much from static and strict languages like C# or VB.NET.

There are many aspects in which JS is much much powerful than C#.

Javascript's philosophy is different than many other languages, however, once you get it, it rocks!

It is pretty possible to mimic most of C# features with javascript, but not vice versa.

The only thing you need is to really learn and understand this great language.

I do agree that the tooling for JS development sucks.

Although VS2008 took a great leap towards nice JS development experience, it still not able to figure out many stuff for intellisence and refactoring.

It's pretty sad, but the best development a debugging tool for JS is Firebug...

In addition, when writing JS, you should really care about compactness of your code, and not trust some (even good) codegen.

I think you better use the right tool to the job. Choose whatever you like developing server, learn and use Javascript for the browser.

Thursday, August 13, 2009 8:32 AM by AndrewSeven

# re: Script# (Script Sharp) – writing javascript in C#

Have you seen anything that would help use script# and VS to build Google gadgets?

Thursday, August 13, 2009 12:22 PM by JavaScript: Not for the faint at heart? | Lazycoder

# JavaScript: Not for the faint at heart? | Lazycoder

Pingback from  JavaScript: Not for the faint at heart? | Lazycoder

Tuesday, August 25, 2009 3:13 AM by valamas

# re: Script# (Script Sharp) – writing javascript in C#

Tuesday, September 01, 2009 3:43 AM by Marcel Popescu

# re: Script# (Script Sharp) – writing javascript in C#

I have no idea why most people do not see that Javascript is a Lisp with a saner syntax. (Check out interglacial.com/.../hoj.html for some examples or higher-order programming in JS.)

Sunday, November 01, 2009 3:04 PM by rekna

# re: Script# (Script Sharp) – writing javascript in C#

I also like the idea of scriptsharp also very much. Show me a tool I can use to do type checking, refactoring (without type checking refactoring becomes virtually impossible), code completion.

Compiling means capturing errors up front! Having no type checking means virtually anything can go in, without knowing what will come out.

Scriptsharp should be updated more often, I miss some C# 3.5 code constructs, which could simplify code significantly : anonymous objects, object initializers etc. I tried contacting the author, but for several months he does not respond anymore to any of my questions...

Friday, November 06, 2009 1:12 PM by rekna

# re: Script# (Script Sharp) – writing javascript in C#

Friday, February 26, 2010 7:07 AM by CodeJunkies

# Using the MVC pattern in javascript

Using the MVC pattern in javascript

Friday, February 26, 2010 8:53 AM by CodeJunkies

# I would not abstract away my javascript

I would not abstract away my javascript