Hacker News new | ask | show | jobs
by tacticus 3903 days ago
Why are you comparing powershell to bash. the more accurate comparison is python.
1 comments

Fair point. PowerShell is three things, actually: An embeddable scripting runtime, a scripting language, and a shell. The latter is (by name, probably) what people see it as, usually. Furthermore, most usage examples throughout the web use it for things that are traditionally done in a shell, e.g. interactive use, or small scripts that mainly do filesystem maintenance stuff.

You're right in that Python may be a more apt comparison, especially in that PowerShell's .NET foundation serves as the equivalent to Python's included libraries.

But that's a discussion that would have to happen every time people try to think of PowerShell as a weird bash. And it is a capable and useful shell, too. It just can do a lot of things much better than bash; they just look different.