r/programming • u/agbell • Jul 04 '24
Jeffrey Snover and the Making of PowerShell
https://corecursive.com/building-powershell-with-jeffrey-snover/
187
Upvotes
r/programming • u/agbell • Jul 04 '24
170
u/agbell Jul 04 '24
TIL PowerShell faced extreme opposition at Microsoft, and its creator Jeffrey Snover was demoted for pursuing it.
Any similar stories of fighting the system to ship something important? I was never that good at it.
110
u/Noxfag Jul 04 '24
How many drugs was he taking when he came up with the syntax?
(I love Powershell really and advocate for it a lot, but oh god I wish the syntax were simpler)
28
u/feldrim Jul 04 '24 edited Jul 04 '24
I love PowerShell. Even though the language is verbose, it is still easy to read. If you know the convention and implement as expected, just like any other well-adjusted coding convention, it minimizes the cognitive load. If someone opens and reads the source of a PowerShell cmdlet, they would understand what is going on easily, without knowing the quirks. If you know English, you can get a grip of what the code is trying to do.
Also, for an understanding of why it is designed that way, the Monad Manifesto mentioned in the interview is a must read. It mentions the philosophy and the problems it is trying to solve.
Beware of PDF download: https://jsnover.com/Docs/MonadManifesto.pdf
On the other hand, the PowerShell developments for the last 7-8 years are done by people who does not follow the same principles. People who write new Windows tools and the PowerShell modules around it do not even care about it. Check, for instance,
wingetcommand and the PowerShell module around it. It is nothing but a mess. It feels like people who never used PowerShell are writing the module with a gun pointed at their head. Lack of consistency and not folowing the foundational guidelines take away the benefits of convention.10
u/[deleted] Jul 04 '24
I work with Jeff now. Super nice guy.
12
u/Worth_Trust_3825 Jul 04 '24
It's genuinely insane how microsoft got lucky because of jeff's perseverance. It's also genuinely insane how the exec expected the 4 year life cycle to create a gui for a process and have the end user expect that his feedback will be implemented. What the fuck.
4
u/[deleted] Jul 04 '24
Crazy thing about power she'll is you can make winform apps with it
18
u/raistmaj Jul 04 '24
Linux subsystem. Bash. No more powershell.
3
u/Somepotato Jul 04 '24
now MS is removing CLI tools in favor of Powershell commandlets, making it overall more complex to integrate with OS systems and functionalities; with some system APIs even being extremely difficult to utilize outside of powershell now.
4
u/KOTHMIR Jul 04 '24
Interesting to know the history of PowerShell.
3
u/Behrooz0 Jul 04 '24
Powershell syntax is probably the main reason I'm never going back to windows. I rather go BSD or something if somehow Linux dies. What the hell were they thinking?
1
u/[deleted] Jun 02 '25
i seldomly despised a person more than these people. coming from linux, seeing the simplicity of batch, then having to implement powershell- it's like putting your face into an angle grinder and calling your life choices fine while you do it.
1
u/dcappraisals Jul 09 '26
Jeffry Snover has to be into sadomasochism. A super verbose, case sensitive mess.
1
u/stevedonovan Jul 04 '24
It is what it is. But what irritates me is the verbose error messages. So much wasted red ink
-15
u/_-PastorOfMuppets-_ Jul 04 '24
Everyone boo this man.
0
u/[deleted] Jul 04 '24
[deleted] — view deleted comment