News for hackers. Stuff that matters.
Re:The long goodbye to C by emodendroket on Friday November 10, 2017 @05:08PM (#15673475)
If we're starting from scratch something like Powershell would be way nicer
Re:The long goodbye to C by loeg on Friday November 10, 2017 @05:15PM (#15673520)
https://en.wikipedia.org/wiki/Usage_share_of_operating_syste...

Unix servers make up 68-98% of the internet, depending on who is measuring. There's a huge body of sysadmins familiar with shell who are not familiar with Powershell.

So that's exactly my point: I don't think we should start from scratch on things like the Unix shell, filesystem hierarchy, devices, etc. People know them. Throwing out systems people already understand for no reason is a huge anti-pattern.

If you think Powershell is superior, port it to Unix and convince Unix sysadmins to use it. I don't think it's going to be very popular.

Re:The long goodbye to C by emodendroket on Friday November 10, 2017 @05:21PM (#15673566)
It's always going to be a second class citizen on Unix, so there is little advantage to picking it up (it's available on Linux already). But in fact, for one thing, Powershell makes a lot of concessions to people with experience in both bash and CMD (for instance, ls, wget, and dir are all built-in aliases, you could probably go a while without realizing pipes work differently, etc), and, for another, by the time you're worried about this kind of thing I can't see why you're trying to make a clean break at all.

Once you've learned how it works having an object oriented shell is game changing. Powershell isn't necessarily the ideal implementation but I'm just calling attention to it as an existing, popular example of something better