Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I remember joking that PowerShell is a properly architected shell, which is why it was so uninspiring to use.

I still use Bourne-derived shells because they're just so damn human.



Well it might work as a joke, but I have to say that I had more than enough experiences with Powershell that drastically disprove that notion in my opinion. That is not to say that bash and consorts are much better, but e.g. a shell that decides to arbitrarily violate its normal error handling logic based on internal voodoo heuristics about if it's running in a console or not [1] is pretty much the total antithesis of sanely architected in my book.

As in: Architecture must be the reason someone thought this insane scheme has any merit. And arbitrarily starting to throw exceptions whenever a subprocess dares to write to stderr, especially if the shell doesn't do this in normal operation, doesn't get any other label than "insane" from me.

[1]: https://stackoverflow.com/a/57272097


Fair enough, I only used PS for a day or two.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: