News for hackers. Stuff that matters.

jsnover

Re:An analysis of the C#/.NET platform on Monday November 04, 2013 @08:27AM (#6668331)
Thanks, that was helpful. I agree that we should do better on both points.

Jeffrey Snover[MSFT] Distinguished Engineer and Lead Architect for Windows Server and System Center

Re:An analysis of the C#/.NET platform on Sunday November 03, 2013 @07:00PM (#6665756)
I lost you on your "Does not ship with the OS" point. What are you referring to?

PowerShell has shipped with the OS since WS 2008 and Vista. We have ALSO made it available to prior versions of the OSes (e.g. down to XP.

I also missed your point about interoperability of shell scripting and PowerShell.

PowerShell can launch any process, pipe data to it and read/parse the data that it generates. PowerShell can be launched by any process and read/write text.

So when you say "interoperate" that is what I'm thinking of so I think they interoperate well. Are you referring to something else or are you experiencing a problem?

Thanks!

Jeffrey Snover [MSFT] Distinguished Engineer and Lead Architect for Windows Server and System Center

Re:An analysis of the C#/.NET platform on Sunday November 03, 2013 @06:49PM (#6665708)
A few questions:

1) What version are you running? We had a problem with earlier versions that didn't NGEN and had startup delays. With V2 we made it so you can write cmdlets in PowerShell itself which is pretty simple. With V3 we added auto-loading of Modules which allowed Xcopy deployments and simplified discovery. We just released V4 so you might want to give a more recent version a try.

2) What don't you like about the language? Is it just personal preference or are there things you can't do or are too hard to do?

Thanks!

Jeffrey Snover [MSFT] Distinguished Engineer and Lead Architect for Windows Server and System Center

Re:An analysis of the C#/.NET platform on Sunday November 03, 2013 @06:25PM (#6665609)
That is an absolutely fair rock to throw. What we find is that if PowerShell has a cmdlet for what you want to do, it is pretty simple to work with (modulo personal syntax preferences). If there isn't a cmdlet, then you can usually get the job done but you need to roll up your sleeves and do some coding (or searching/downloading).

This is not that different than Unix BUT because so much of Unix is done using ASCII text files, the coding is really manipulating text files which can be done easily by admins. Windows is an API-oriented OS (vs a document-oriented one) which means that the coding looks much more like programming than in Unix.

The solution is to have the cmdlets you need. We are making great progress on that front but the reality is that Unix has about a 30 year head start so it will take us a while. In V2 we had ~240 cmdlets and in V3 we had ~2,400 cmdlets. (Sadly, ZIP/UNZIP are not among them). We added more in V4 and are extending our focus (from IT pros) to devops with features like Desired State Configuration. That is very much of a minimal viable product but I think we got it basically right and there is a lot of energy around this.

I appreciate the criticisms and encourage you do continue making them and don't hold back - we really do read these and use them to make the product better. Politeness is optional but we would really appreciate specificity (like you provided here).

Please let us know other things that we should be adding, doing differently or stop doing.

Thanks!

Jeffrey Snover [MSFT] Distinguished Engineer and Lead Architect for Windows Server and System Center