• QuazarOmega@lemy.lol
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    2 days ago

    Absolutely, the syntax and API isn’t exactly easy, but it is miles better because it’s both more familiar to other programming languages and because it is verbose.
    I argue that the complaint some have about its verbosity is of little meaning, those people have just used the shell so much that they naturally remember a lot of commands, what they’re used for and their specific syntax, but for a beginner it’s difficult to string everything together, because a lot of tools are of independent origin. Regardless, Powershell should by default have quite a few aliases to the commands/functions with long names so it’s not like you can’t have the best of both worlds

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

      Yep.

      I use it as a command shell regularly and the verbosity isn’t an issue at all, between aliases and tab completion.

      Honestly, having used both for years, PowerShell is actually easier in many respects just due to the object pipeline and dotnet, once you get to know them well enough. Being able to just toss output into a variable and mess around with it to understand its structure and contents is huge