Hacker News new | ask | show | jobs
by GoOnThenDoTell 2105 days ago
You’ll have to elaborate on how PS is actually better rather than different
3 comments

It brings the Xerox PARC and ETHZ workstations REPLs into Windows.

Basically everything in the OS is available for scripting, regardless if it is a DLL, COM, .NET library.

And the shell is a proper programming language with modules support and uses structure data as default.

This means you can easily make use of any OS feature or even automate existing GUI applications via COM/OLE, or their own libraries.

And there is an OS provided IDE as well, with integrated debugger.

So overall one gets a little closer to what the Lisp Machines used to be, just with a mix of .NET and native libraries.

Yes this would be possible in UNIX, but given the fragmentation and POSIX culture, it will never be adopted at scale for it to work the same way as Powershell does on Windows.

Its better because you are way more efficient because you do not parse strings. You can't argue with that fact.

Besides, everything that can be used with bash can be used with PowerShell. Opposite is not true.

Better. Much much better.

It has deep ties to Windows, which makes it very powerful, on Windows.

Windows users seem to be fond of its syntax, which is understandable considering how starved of languages they'd been for the past 40 years.