this post was submitted on 07 Jul 2024
827 points (92.6% liked)

linuxmemes

20761 readers
1450 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. 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
[–] MonkderDritte@feddit.de 173 points 2 months ago (23 children)

SIGTERM is the graceful way tho? It nicely asks programs to please close and cleanup. Unlike SIGKILL, which bombs the shop and creates orphans.

[–] SpaceCowboy@lemmy.ca 18 points 2 months ago (17 children)

Yup. And you can kill processes in Windows to in the task manager. Or probably with a Powershell command too, but nobody's gonna learn Powershell LOL.

There's nearly always equivalent functions in both Linux and Windows, just in Windows you gotta click around in more bullshit forms and shit to find stuff. Or learn Powershell, but again, LOL. They are both OSes after all, they do similar things. Just one might do them better than the other.

[–] capital@lemmy.world 10 points 2 months ago (14 children)

Why u gotta hate on PowerShell like that? I like it. 😭

[–] MrPommeroy@lemmy.world 6 points 2 months ago (2 children)

Probably because it's the scripting language equivalent to Clippy. Ref.: Approved "verbs"

[–] capital@lemmy.world 2 points 2 months ago (1 children)

I really appreciate the consistency. People also dog it for being verbose to write but it makes it so much more legible.

/shrug

[–] MrPommeroy@lemmy.world 4 points 2 months ago

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).

[–] lud@lemm.ee 1 points 2 months ago (1 children)

You don't have to follow best practices though. You can name shit pretty much whatever you want.

[–] MrPommeroy@lemmy.world 2 points 2 months ago (1 children)

No, but if you don't the UI will nag at you just like Clippy did, which is my point.

[–] lud@lemm.ee 1 points 2 months ago

Only if you haven't disabled or dismissed the "problem"

load more comments (11 replies)
load more comments (13 replies)
load more comments (18 replies)