Semantics. Nobody uses bash without those, and having different variants on them with different variants of regex is most troubling. Contrary to that, in pwsh it is recognized that those should be part of the shell that will behave the same on any OS. U ofcourse left out tone of those that come OTB in pwsh (like html/markdown/json/csv/sql readers and exporters vs jq,pandoc,usql,whatever)
> But, if I had to change anything about it, I would never choose objects. This is just replacing one problem with another with very little benefit.
You keep saying that without any evidence whatsoever. Its just a personal taste and you should declare it as such.
> Powershell can enfore types in function arguments
>> I know. This is awful. Especially for maintenance.
It looks to me that you dont actually have programming background, and that is the reason you say things like that. Your bash scripts the way you described them would probably be heavily reviewed and massaged where I work, for them to be accepted.