1128
you are viewing a single comment's thread
view the rest of the comments
[-] marcos@lemmy.world 5 points 2 months ago* (last edited 2 months ago)

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.

[-] cloudy1999@sh.itjust.works 2 points 2 months 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.

this post was submitted on 13 Nov 2025
1128 points (99.1% liked)

Programmer Humor

28883 readers
2117 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