this post was submitted on 13 Nov 2025
1013 points (99.2% liked)

Programmer Humor

27322 readers
800 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 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] marcos@lemmy.world 5 points 1 day ago* (last edited 1 day ago) (1 children)

Well, that's how you do it!

And if two widgets need to create the same effect, you just copy the 5000 lines around. That's why copy-and-paste was invented.

(It really shouldn't be necessary... but in case somebody still needs it, here's the \s)

[โ€“] cloudy1999@sh.itjust.works 2 points 13 hours ago

This is the right strategy. Storage space costs nothing these days. Why not just clone and go? That's what I always say.

Why, you can just 'inherit' some code by copying a block, pasting it, then making a few small changes. No thinking, no problem.

Ok, I'm off to copy of my code folder for the next release.