• OmegaLemmy@discuss.online
    link
    fedilink
    arrow-up
    3
    ·
    4 hours ago

    Powershell is c# under the hood, no? It’s a pretty comprehensive programming language beyond anything bash does if you get down to it

    I just can’t with the syntax though

    • wizardbeard@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 hour ago

      Yeah, you can actually run C# code “inline” in it without having to compile to an exe, which is simulataneously really cool, kinda janky in practice, a bad idea, and pretty cursed.

      There’s definitely some weirdness with the syntax, and some odd footguns, but I’ve found those in most languages I’ve used for any considerable amount of time.

      I work in an almost exclusively Windows environment, and the base version of PowerShell is preinstalled on all Windows stuff since I think Windows 7, with some really good integration with the Windows sysadmin tools. Not sure I’d reccomend it outside of that sort of environment.