41 ms·
PowerShell - bad syntax and quirky semantics. Looks like on the syntax front they took the bad parts from bash and Perl.
by ilyash 6y ago
PowerShell - bad syntax and quirky semantics. Looks like on the syntax front they took the bad parts from bash and Perl.
- ravi-delia 6y agoIn all fairness, bash is...bash. PowerShell does a really good job of striking a balance between the ease of creating horrible hacked together monstrosities in bash with the ease of terrifyingly converting between data structures in python. It obviously doesn't live up to what it could be, but there's definitely something there.
- sidpatil 6y agoPowerShell also seems to borrow from Tcl, especially the parameter syntax (Tcl calls them options, *sh calls them arguments) and the script block construct (which is simply a curly-brace-quoted string in Tcl).