I wish I liked Powershell
-
It seems so useful, i just can't stand the syntax. I couldn't even tell you why except I can't get my head around it. Just give me C# or something with a Shell object.
Real programmers use butterflies
If it was hard to create, it ought to be hard to use! ;) Seriously, I totally get your frustration. Stubbornness comes in handy sometimes.
Cheers, Mike Fidler "I intend to live forever - so far, so good." Steven Wright "I almost had a psychic girlfriend but she left me before we met." Also Steven Wright "I'm addicted to placebos. I could quit, but it wouldn't matter." Steven Wright yet again.
-
It seems so useful, i just can't stand the syntax. I couldn't even tell you why except I can't get my head around it. Just give me C# or something with a Shell object.
Real programmers use butterflies
I have not updated this in 6 years, but it shows how to execute C# written as script. How to Execute External Uncompiled C# Code[^] and thus just use C# scripts to do something, instead of whatever the heck PowerShell is.
-
It seems so useful, i just can't stand the syntax. I couldn't even tell you why except I can't get my head around it. Just give me C# or something with a Shell object.
Real programmers use butterflies
-
obermd wrote:
I feel like I'm looking at bastardized Perl
I am commiserating along with everyone about how ugly the PS language is and then I see your comparison to Perl and I'm like, "Oh, no, PS is all fine and good and maybe even beautiful after all. I mean, it's not Perl." :laugh: :laugh: Perl syntax just gives me shivers. :laugh:
-
It seems so useful, i just can't stand the syntax. I couldn't even tell you why except I can't get my head around it. Just give me C# or something with a Shell object.
Real programmers use butterflies
Our company got onboard with .NET in ~2000. When it came time to learn PowerShell many years ago (yes, 2.0) we had an instructor led class with a mix of developers & Windows and Linux Admins in it. Developers (me included at the time) seemed to get PS, while the Windows and Linux struggled with it. Linux admins especially since they are heavy duty scripting folks. Problem for them was it so very different than the shells they used on Linux. Fast forward to the present, those same Linux admins are using PowerShell and are quite good at it. Syntax always seemed a bit "clunky" to me, but the concepts were quite natural to me because of leaning .NET and C#.
-
It seems so useful, i just can't stand the syntax. I couldn't even tell you why except I can't get my head around it. Just give me C# or something with a Shell object.
Real programmers use butterflies
The problem is time. I just don't have the time to learn such an obtuse syntax. Why didn't they just use C#. Given enough time we can learn anything, but actually we are never given enough time to completely learn anything. PS is yet another time sink. BTW the folks who made the comments about French cars were right, the question is WHY do the French insist on swimming up stream when the large majority of uses are intuitive and the French standard is not. Oh wait, was I discussing PS or French cars? Hummmmmm, I think both.
-
The problem is time. I just don't have the time to learn such an obtuse syntax. Why didn't they just use C#. Given enough time we can learn anything, but actually we are never given enough time to completely learn anything. PS is yet another time sink. BTW the folks who made the comments about French cars were right, the question is WHY do the French insist on swimming up stream when the large majority of uses are intuitive and the French standard is not. Oh wait, was I discussing PS or French cars? Hummmmmm, I think both.
thorne999 wrote:
The problem is time. I just don't have the time to learn such an obtuse syntax. Why didn't they just use C#. Given enough time we can learn anything, but actually we are never given enough time to completely learn anything. PS is yet another time sink.
All of my this. :) ETA: It reminds me of SQL/DML/SML??? whatever the last one was called. They syntax is ridiculous and I find I have to go back to the reference way too much.
Real programmers use butterflies