this post was submitted on 25 Apr 2025
179 points (96.4% liked)

iiiiiiitttttttttttt

277 readers
992 users here now

you know the computer thing is it plugged in?

founded 2 days ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Boomkop3@reddthat.com 18 points 2 days ago (1 children)

This would be a decorator pattern. Not sure if this is the right use case tho

[–] UndercoverUlrikHD@programming.dev 18 points 2 days ago (2 children)

It works for now, we can refactor it later.

[–] Alexstarfire@lemmy.world 7 points 1 day ago

Narrator: But they never did.

[–] ulterno@programming.dev 7 points 2 days ago

I remember doing this and then refactoring my code twice.

At least I did it before handing it over.