4 ms·
Oh, I get it. You mean install some sort of interpreter that is called by the OS for that language. Sorry, I live in real world, where customers don't allow you
by unnouinceput 6y ago
Oh, I get it. You mean install some sort of interpreter that is called by the OS for that language. Sorry, I live in real world, where customers don't allow you to install a gazzilion files just to run your application, they expect a proper installer that is under strict supervision by their admin team and you only deliver executables.
- 0xcoffee 6y agoI would love to replace all my powershell build scripts with .cs files. imo there is lots of room for C# Scripts.
- ninkendo 6y agoI don’t think the use case for this is anything you’re shipping to “customers”... more for just personal code you can use as scripts/playgrounds. To use the swift example, often I want to double check whether something in the language works as I expect, so I write a quick test.swift and run it. It’s a useful thing even if you don’t personally want it.
- twodave 6y agoVS comes with an interactive C# window that basically serves this purpose. Aside from that, you can always write a unit test and set a breakpoint to inspect whether something works as you think it does. In my opinion both these options are superior to running a file for that use case (though running a C# file would certainly have other uses that tests/REPL aren't sufficient for).