this post was submitted on 20 Nov 2024
803 points (97.5% liked)

Programmer Humor

19623 readers
2547 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
803
submitted 23 hours ago* (last edited 23 hours ago) by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 22 points 22 hours ago (38 children)

I don't know anything about programming, i came here from /all, but it seems to me that a command that's this permanently destructive warrants a second confirmation dialog message reminding the user that the files will be permanently deleted and not undoable

[–] ArbiterXero 30 points 22 hours ago (7 children)

The problem is that these are “source control basics” that everyone needs to learn the hard way once it seems.

Waiting 3 months in between commits however is a really bad rookie mistake because you were worried about making a commit that wasn’t perfect.

[–] [email protected] 2 points 18 hours ago (2 children)

Imperfect commits never existed when you squash.

[–] ArbiterXero 3 points 18 hours ago

Squash ftw. Simpler clearer history.

load more comments (1 replies)
load more comments (5 replies)
load more comments (35 replies)