this post was submitted on 25 Apr 2025
180 points (96.9% liked)

iiiiiiitttttttttttt

326 readers
956 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
[–] [email protected] 18 points 2 days ago (1 children)

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

[–] [email protected] 19 points 2 days ago (2 children)

It works for now, we can refactor it later.

[–] [email protected] 7 points 2 days ago

Narrator: But they never did.

[–] [email protected] 7 points 2 days ago

I remember doing this and then refactoring my code twice.

At least I did it before handing it over.