News for hackers. Stuff that matters.
Re:“Clean Code, Horrible Performance” Discussion by simplotek on Saturday March 11, 2023 @09:41AM (#35108619)
> (...) because it was not written in the modern way or it was not very generic or whatever.

Premature generalization is a well known problem and a never-ending source of complexity. I lost count of the times I had to push back on PRs of clueless developers who felt the need to generalize one-liners that pop up twice in the whole project, and for that their proposal was to add a strategy pattern, ultimate replacing two expressions with three classes.

There are no comments on this comment yet.