It's apples to oranges...
Posted Dec 10, 2011 8:57 UTC (Sat) by
khim (subscriber, #9252)
In reply to:
Relative youth? by Cyberax
Parent article:
Evolution of shells in Linux (developerWorks)
Because writing a cmdlet is like 10 times easier than writing a command-line utility!
Only if your program uses .NET - which is not always the case. In other cases you first need to write the command-line utility anyway and in addition you need to write the cmdlet. If you write command-line utility anyway then why bother with cmdlet at all?
Especially if you are using .NET (which most large vendors already do at least for some functionality).
Not especially. Only. If you don't use .NET then it's easier to write command-line utility - and while large vendors are prone to misallocation of the resources even Microsoft is ready to scale back this abomination as Windows8 shows. But it'll probably be 10 more years till it's finally dropped...
And it's already happening - all good software vendors for server-side apps on Windows already expose functionality using PowerShell.
s/good/buzzword-compliant/
PowerShell is obvious waste of the resources, but it's not a zero-sum game: most sensible solutions are not the ones which sell well thus sometimes you need to invest in the most buzzword-compliant approach. But it only makes sense if this approach slays buzzword. When it's no longer the case support dries up quite fast. As world becomes less Windows-centric and Windows becomes less .NET-centric it makes less and less sense to spend resources on PowerShell.
People will probably not drop already written things (albeit it may happen later), but new developments... I doubt it.
(
Log in to post comments)