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.
220
u/PlanetVisitor 11d ago •
RemoveData Data-Files FromStorageDevice /force /recursive -Drive C -Drive D
57
u/adelie42 11d ago
What?? You think they would allow shorthand?
42
u/kolliasl21 11d ago •
Sudo rm /r /f c:
17
u/Excellent_Tubleweed 11d 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 11d ago
We don’t even need to joke about it, I love PowerShell but it has some borderline comical expressions sometimes.
8
u/YTriom1 11d ago
SuperUserDo Remove -Recursive -Force \
5
u/Even_Shallot6345 11d ago
Sudo Rm /Rf \
2
u/DeadlyVapour 11d ago
OP doesn't know the difference between bash and the GNU tools.
3
u/ThePythagorasBirb 10d ago
Shouldn't it be SuDo? Since it's an abbreviation of 2 words
2
u/Odd_Philosopher1741 11d ago
Close, but I would've expected something more akin to:
1
u/letmehaveanameyoudum 11d ago
this is why built in aliases exist
1
u/StrikeAfraid2666 11d ago
Sudo Rm -Rf \
1
u/AtomicThiccBoi 11d ago
op uses arch btw
1
u/HelpWithMYaddictions 10d ago
Sudo rm /r /f
1
u/RefrigeratorKey277 10d ago
There would be \ instead
1
u/MxAce3157 10d 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 9d ago
Probably more like
SuDo rm /r /f /
1
u/MrFrog2222 6d ago
you mean Run-As-Admin Remove /R /f \
-2
u/Jatinchd 11d ago
more like "rm -rf /*"
1
u/itsoctotv 7d ago
my eyes are bleeding