5 ms·
PS is superior to bash, period, no matter platform. You are talking about something else entirely, like added benefit of lots of Windows tools supporting PowerS
by majkinetor 6y ago
PS is superior to bash, period, no matter platform. You are talking about something else entirely, like added benefit of lots of Windows tools supporting PowerShell automation. While that is nice, the major appeal of pwsh for me is not the ecosystem but the paradigm and language - in bash, you always do something irrelevant to your current task as anything requires excessive boilerplate and all supportive utilities are reinventing stuff like parameter names and parsing, error handling, etc. Also, those utilities are sometimes different on other *nix platforms, so you can't even count on linux portability.
So yeah, PowerShell is huge on Windows and just awesome on Linux. You must also take into account that its only few years old in that space.
- jen20 6y ago> PS is superior to bash, period, no matter platform Simply untrue. See [1]. PS _may_ be superior _where it exists_, but without question it is available in far fewer places than bash. [1]: https://github.com/PowerShell/PowerShell/issues/12612 https://github.com/PowerShell/PowerShell/issues/12612