this post was submitted on 19 Feb 2024
355 points (94.9% liked)

Programmer Humor

19572 readers
1661 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] OfficerBribe@lemm.ee 2 points 9 months ago (1 children)

I work pretty frequently with PS and have no issues with syntax. It's easy to read and you always have autocomplete so there is just 1 extra click to get from -r to -Recurse. Same command could be also written as this due to alias feature.

rm 'C:' -r -fo

It's just not the best practice since in PowerShell it is recommended to not use aliases for readability reasons. Also less chance to mess things up due to how verbose all commands and their parameters are.

[–] okamiueru@lemmy.world 1 points 9 months ago (1 children)

Thanks for the info! Is a correct assumption that this is a "yes", to my question?

[–] OfficerBribe@lemm.ee 1 points 9 months ago

It is. Besides some very niche bugs everything in the core of PowerShell seems logical to me and easy to understand.