3 ms·
That is the fundamental idea behind powershell. PS accesses the .NET world kinda like that. Many people love it. I would want one similar for JS and mainly fixa
by rhacker 8y ago
That is the fundamental idea behind powershell. PS accesses the .NET world kinda like that. Many people love it. I would want one similar for JS and mainly fixated on the linux world (but works in Windows). Whereas PS works in Linux, I would say .NET isn't a great target for the linux audience.
- johnmaguire2013 8y agoI joked about this years ago. I'm not a Javascript fan, so really, I lamented that in a few years time, someone would make a CoffeeScript REPL[1] with built-in functions mirroring the Linux shell[2]. Call it jssh or sh.js. Just a few days ago, I saw a shell interpreter that had a method for bouncing in and out of Python with ease.[3] I'm sure the Javascript version isn't long behind. [1] https://coffeescript.org/#overview https://coffeescript.org/#overview [2] https://www.npmjs.com/package/shelljs https://www.npmjs.com/package/shelljs [3] https://xon.sh/tutorial.html#python-mode-vs-subprocess-mode https://xon.sh/tutorial.html#python-mode-vs-subprocess-mode
- Pxtl 8y agoI code a crapload of PowerShell and I've come to hate it. It's the most inconsistent language I've ever used, and the docs always bury the lede about the format of the returned object-stream, leaving me grasping to find the types and properties of everything where more text-oriented consoles would be far more wsiwyg.
- carlmr 8y agoYeah, it's a great idea but terribly executed. They could have just used F# as the new shell language, the interpreter already exists, the syntax is clean and concise, etc.