you are viewing a single comment's thread
view the rest of the comments
[+] 13 points 1 week ago* (last edited 1 week ago) (12 children)
  • [โ€“] 11 points 1 week ago* (10 children)

    I don't know if that's accurate. Have you seen PowerShell? It's so good, some people install it on Linux to use as their main shell

  • source
  • parent
  • hideshow 10 child comments
  • [+] 3 points 1 week ago* (last edited 1 week ago) (7 children)
  • [โ€“] 9 points 1 week ago (2 children)

    No he is sorta right, powershell is actually kinda fire.

  • source
  • parent
  • hideshow 2 child comments
  • This is incorrect. And the GNU tools would be much better if they were object-oriented like PS is. No I don't have PS on my personal machines (Cachy btw) but that's genuinely a super great feature. It's an idea who's time has come (ages ago)

  • source
  • parent
  • [โ€“] 1 point 1 week ago (2 children)

    That might be true if *NIX had another shell with an object-based pipeline, or if PowerShell wasn't object-based

    I'd argue most people who dismiss PowerShell offhand like that don't understand it particularly well

  • source
  • parent
  • hideshow 2 child comments
  • [+] 1 point 1 week ago* (last edited 1 week ago) (1 child)
  • [โ€“] 1 point 1 week ago

    Yeah, having to take the extra steps to parse strings every time is far superior to objects that can sort, filter, and give you the exact properties you need natively

    I mean, if your complaint is a heavier overhead, sure, but for most uses as an interactive shell or for smaller scripts, I don't really see how that would negatively impact you in meaningful ways compared to having to splice raw text and hope the package maintainer doesn't decide to add a column in a future update

  • source
  • parent
  • [โ€“] 0 points 1 week ago

    PowerShell is basically like writing an interpreted CLI C# program - it's extremely powerful. Anyone who's tried to do anything complicated, object oriented, or JSON related in /bin/bash knows it's a pain in the ass and ugly code

    I'm still not gonna install PowerShell though. Because I'm quits with Microsoft

  • source
  • parent