by symlinkk · 9y ago · 0 comments
Sounds like Powershell.
The problem of designing the shell becomes both much harder and simpler at the same time. Harder because you need to figure a way to really pass objects from one process to another, which implies some sort of serialization protocol. On the other hand the shell becomes simpler again, because the processes will (most likely) do most of the heavy lifting of managing objects etc.
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.
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.
Can you elaborate on the semicolons? Lists are declared by a comma, not semicolon: `$a = 1,2`, or `$a = @(1)` to enforce it