Remix.run Logo
userbinator 3 hours ago

I'm surprised they didn't call it Run-AsAdministrator or some other awkward Microsoft-ism.

steve1977 3 hours ago | parent | next [-]

Maybe because that exists already? (and is actually more useful)

https://learn.microsoft.com/en-us/previous-versions/windows/...

al_borland 40 minutes ago | parent | prev | next [-]

I spent some time years ago going through a PowerShell course by the guys who wrote it. They explained their thought process and it actually made a lot of sense. Descriptive verb-noun naming to makes scripts readable, with aliases to make things quick and easy in the shell.

It’s easier to understand than names like grep, which require the user know ed and decades old history to figure out that it means global regular expression print. Without any *nix history, Select-String with an alias of sls, can make more intuitive sense and be easier to remember. The alias is also faster to type.

Diti an hour ago | parent | prev | next [-]

That would imply it is written for PowerShell specifically ([1]), and would come with several expectations (like returning PSObject objects, and other good practices).

[1]: https://learn.microsoft.com/en-us/powershell/scripting/devel...

Diti an hour ago | parent | prev | next [-]

That would imply it is written in PowerShell. https://learn.microsoft.com/en-us/powershell/scripting/devel...

chrisandchris 3 hours ago | parent | prev [-]

That would be consistent, which is not something Microsoft is capable of.