this post was submitted on 07 Jul 2024
824 points (92.7% liked)
linuxmemes
20471 readers
788 users here now
I use Arch btw
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- No recent reposts
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Why u gotta hate on PowerShell like that? I like it. π
It might be nice and all that (I wouldnβt know), but itβs not a sub- nor superset of glorious POSIX
Probably because it's the scripting language equivalent to Clippy. Ref.: Approved "verbs"
I really appreciate the consistency. People also dog it for being verbose to write but it makes it so much more legible.
/shrug
I usually write verbose code and use self-documenting function names, but to have such a limited set of verbs available can be frustrating. They could at least have used a proper dictionary and included all verbs. Then have a map of synonyms that are preferred, like instead of 'create' they prefer 'new' (which isn't even a verb).
You don't have to follow best practices though. You can name shit pretty much whatever you want.
No, but if you don't the UI will nag at you just like Clippy did, which is my point.
Only if you haven't disabled or dismissed the "problem"
Your opinion is wrong, Powershell must be banished
Bash already existed
I find objects much easier to work with rather than a bunch of string manipulation.
Just think of strings as the objects.
/waves magic wand
It's one of those things wher eI'm sure it's fine if you learn it. But it's not DOS CMD, but also not bash.
So instead of improving CMD to have more features or just going all the way and offering an official bash implementation, they want me to learn a third thing. Just don't have time for it.
Itβs second to none if you have to get things done in a Windows environment, especially if dealing with Active Directory.
But if not, I donβt blame you for not picking it up. Right tool for the job and all that.
I do use it occasionally, but I gotta google for the command every time. So not exactly learning it.