Re:GitHub – nushell/nushell: A new type of shell
by jamincan on Wednesday June 16, 2021 @08:46AM
(#27527881)
I 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.
Re:GitHub – nushell/nushell: A new type of shell
by 411111111111111 on Wednesday June 16, 2021 @10:07AM
(#27528627)
> 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?
Re:GitHub – nushell/nushell: A new type of shell
by AnIdiotOnTheNet on Wednesday June 16, 2021 @09:31AM
(#27528321)
Wait, 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?
Re:GitHub – nushell/nushell: A new type of shell
by 411111111111111 on Wednesday June 16, 2021 @09:46AM
(#27528457)
I 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.
Re:GitHub – nushell/nushell: A new type of shell
by AnIdiotOnTheNet on Wednesday June 16, 2021 @09:52AM
(#27528497)
I very much disagree. There's a reason this is funny:
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.