There are codebases out there with enormous amounts of duplication, filled with implicit dependencies. You just haven't encountered them to appreciate good abstraction.
I think that all this people defending this post have no idea that this rationale can cause. I'm sitting at a codebase that has the same code for iterating copied around 20 times.
As a senior I will tell you to dedup whether I can to avoid this shit.
As a senior I will tell you to dedup whether I can to avoid this shit.