No criticism, though. Powershell is brilliant, and I'm glad to see the Unix world starting to take cues from it.
No criticism, though. Powershell is brilliant, and I'm glad to see the Unix world starting to take cues from it.
Wot?
Ugly syntax, cryptic error messages and random idiosyncrasies like misplaced semicolons turning variables into lists... The language is a nightmare.
Yeah, nothing like the elegance, straightforward messages, and "no surprises" of POSIX shells...
Powershell feels like something designed by committee, it has an internal consistency and logic, but feels bloated and overcomplicated.
Isn't that what everyone hates about PHP?
Provide a good migration path (e.g. for a language that could be a n to n+1 transpiler), and you're set.
I can see a case where passing around structured data could make sense, but Powershell definitely takes things to far by passing around full .net classes that have functionality.
This is a common complaint about PS/elvish/etc, but I’m not sure it makes sense. Is that “simple text stream” tab delimited data? CSV? JSON? XML?
At the end of the day, what you have isn’t just a “simple” text stream; you have a more complex data structure serialized into text, which will need to be parsed by each command in the pipeline for any non-trivial processing.
Sure. Or all 4 at different points, because we didn't tie ourselves to one format. That's kinda the point.
Can you elaborate on the semicolons? Lists are declared by a comma, not semicolon: `$a = 1,2`, or `$a = @(1)` to enforce it