this post was submitted on 25 Apr 2025
185 points (96.5% liked)

iiiiiiitttttttttttt

326 readers
942 users here now

you know the computer thing is it plugged in?

founded 3 days ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Boomkop3@reddthat.com 22 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 20 points 2 days ago (2 children)

It works for now, we can refactor it later.

[–] Alexstarfire@lemmy.world 7 points 2 days 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.