3 ms·
Microsoft has had a JavaScript compiler for a while (JScript.NET). I don't think it gets much use. They also had a Java compiler. PowerShell is far better for
by MichaelGG 12y ago
Microsoft has had a JavaScript compiler for a while (JScript.NET). I don't think it gets much use. They also had a Java compiler.
PowerShell is far better for scripting than C#. C# is terribly verbose and lacks scripting-ish stuff like string interpolation. I'm not sure it even had dynamic when PowerShell was made.
It is pretty dumb that C# still hasn't shipped a proper REPL or script runtime though.
- optimiz3 12y agoJScript.net has never been a first-class citizen, and Microsoft never really made an effort to make it viable in all of the domains C# is. JScript feels like an attempt to embrace/extend JavaScript that never took hold. The problem is that rather than adding libraries to improve .Net for scripting-ish stuff like string interpolation, you have to deal with an entirely different platform that shares little with the command line, and little with .Net.
- Locke1689 12y agoIt is pretty dumb that C# still hasn't shipped a proper REPL or script runtime though. Workin' on it.
- msie 12y agoThis is an amazing repl recently released: http://channel9.msdn.com/coding4fun/blog/REPL-for-the-masses-CShell-give-you-an-open-source-C-REPL-IDE http://channel9.msdn.com/coding4fun/blog/REPL-for-the-masses...