It's actually a lot better for people who weren't around when the bash of olde was written. Now not everything is better but having things verbose is a ton better for humans
I've never found myself at ease with syntax and casing in PowerShell.
It just feels personal
Every time something seems to make sense, then another thing pops up that completely destroys my mental model of how it works.
I can live with the Unix answers of "Because someone decided to do it like that in 1977, and it just works." Fine. But PowerShell was designed from the ground up to Be-Logical==true;
yeah it's just... What functionality does it really add?
It just makes me think of a decision that was made because it looked really good and sensible when it was pitched to high management by a guy with a slick tongue that doesn't really know his stuff. And management just refused to change it since then because they are convinced it's a ReallyGood-Thing, even though they can't explain why.
I miss the days of objective C. stringByAppendingString lol u verbose object, orientated son of a bitch lol. Everyone else like + or maybe . But objective c forcing u into intellisense for descriptive naming.
I’m joking, but I kinda do this still. A long descriptive name is better than x.
And that's fundamental difference between unix shell and psh - unix operates on files and text, powershell primarily operates on structured objects; files and lines of text are just one type of an object. Harder to learn and internalize, but generally works fine.
221
u/PlanetVisitor 18d ago •
RemoveData Data-Files FromStorageDevice /force /recursive -Drive C -Drive D
57
u/adelie42 18d ago
What?? You think they would allow shorthand?
42
u/kolliasl21 18d ago •
Sudo rm /r /f c:
17
u/Excellent_Tubleweed 17d ago
"Cannot remove file, file in use."
Engineer laughs. "Heh Good old Microsoft saved my arse"
Reboots, system was wiped except for the intellisense database and the .thumbnails directories.
26
u/tdic89 18d ago
We don’t even need to joke about it, I love PowerShell but it has some borderline comical expressions sometimes.
8
u/YTriom1 17d ago
SuperUserDo Remove -Recursive -Force \
5
u/Even_Shallot6345 17d ago
Sudo Rm /Rf \
2
u/DeadlyVapour 18d ago
OP doesn't know the difference between bash and the GNU tools.
3
u/ThePythagorasBirb 17d ago
Shouldn't it be SuDo? Since it's an abbreviation of 2 words
2
u/Odd_Philosopher1741 17d ago
Close, but I would've expected something more akin to:
1
u/letmehaveanameyoudum 18d ago
this is why built in aliases exist
1
u/StrikeAfraid2666 17d ago
Sudo Rm -Rf \
1
u/AtomicThiccBoi 17d ago
op uses arch btw
1
u/HelpWithMYaddictions 17d ago
Sudo rm /r /f
1
u/RefrigeratorKey277 17d ago
There would be \ instead
1
u/MxAce3157 17d ago
I haven't used Microslop Bindows's terminal in a while, but didn't they use slashes instead of hyphens?
1
u/Ok_Tea_7319 16d ago
Probably more like
SuDo rm /r /f /
1
u/MrFrog2222 13d ago
you mean Run-As-Admin Remove /R /f \
-2
u/Jatinchd 18d ago
more like "rm -rf /*"
1
u/itsoctotv 13d ago
my eyes are bleeding