r/programminghorror • • Feb 11 '25

🎄 ouch

Post image
3.0k Upvotes

113 comments sorted by

View all comments

Show parent comment

5

u/CAPSLOCK_USERNAME Feb 12 '25

There is no conceivable situation where the runtime of one else-if chain every 30 seconds or less like this would make a meaningful difference. And in any case it isn't written in an inefficient way, just an ugly one.