• glibg10b@lemmy.zip
    link
    fedilink
    arrow-up
    13
    arrow-down
    2
    ·
    3 days ago

    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

          • Hawke@lemmy.world
            link
            fedilink
            arrow-up
            6
            arrow-down
            1
            ·
            3 days ago

            And that’ll be a sad day; powershell is one of approximately two great things that Microsoft ever did.

            It’s a little verbose in its commands, but it’s very good.

      • lagoon8622@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        3
        ·
        3 days ago

        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)

      • Laurel Raven@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 days ago

        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

          • Laurel Raven@lemmy.zip
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 days 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

    • Zarobi@aussie.zone
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 days 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