4 ms·
is the writing part really what we should focus on in scripting though? i personally would've put much more weight into the ease of reading and understanding t
by 411111111111111 5y ago
is the writing part really what we should focus on in scripting though?
i personally would've put much more weight into the ease of reading and understanding the code.
personally, i think that PS just came too late, so most people (me included) are too used to the way the unix shell works/feels. It would have to be just straight up better in all regards to displace it, but its more like a different flavor entirely.
It however a very interesting take on scripting, in my mind it was more comparable to python repl then bash though, but i haven't really used it much.
- jamincan 5y agoI think bash is only readable because pretty much everyone is already familiar with the syntax. Given someone with no experience, they would probably have more success understanding what a Powershell script is doing.
- 411111111111111 5y ago> personally, i think that PS just came too late, so most people (me included) are too used to the way the unix shell works/feels. I'm getting confused here, Isn't that literally what I said?
- AnIdiotOnTheNet 5y agoWait, are you seriously trying to tell me that bash is more readable than PowerShell? Excuse me, but what alternate timeline did you accidentally stumble in from?
- 411111111111111 5y agoI did not say that, no. I said that a lot of people (me included) are more used to Unix shell scripting. If PS had been released 30yrs ago, things wouldve probably been different. People have however already become comfortable with Unix shells, so it needs significant improvements to convince them to switch the tool of choice. While PS does have improvements, they're not significant enough to relearn everything. To me, Unix scripts are more readable though, this is simply because Ive been writing them for so many years now, while I barely touched any PS code.
- AnIdiotOnTheNet 5y agoI very much disagree. There's a reason this is funny: https://xkcd.com/1168/ https://xkcd.com/1168/