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

Programmer Humor

19623 readers
2838 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
[–] [email protected] 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 1 points 9 months ago (1 children)

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

[–] [email protected] 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.