I've used powershell a bit, particularly for scripting CI pipeline steps. No matter how much I use it, I can never remember anything about the syntax. I primarily use C#, so you'd think there'd be some affinity, but nope. It's like a black hole.
I've written in a lot of different languages in my time and never had this issue with anything else. It's weird.
Yeah bash has some of the worst syntax of any language I've used. Why do if statements have a semicolon in the middle of them?? Why does it use `[[` and `]]`? why does `if` end with `fi ` but `while` ends with `done` ?
people who rip on powershell but prefer bash make no sense to me at all
Exact same here. I write roughly the same amount of Powershell as I do Bash, and yet to this day I feel like I barely know Powershell and constantly look up the simplest things, whereas loads of dark corners in Bash stick in my mind perfectly fine.
I've written in a lot of different languages in my time and never had this issue with anything else. It's weird.