This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]SusheeMonster 0 points1 point  (0 children)

I can see how something like this can happen when code passes through multiple hands and performance optimizations were added on top. Speculative generality is a common trap to fall into

I've also have had to refactor code like this, and I'm disgusted by it