Hacker News new | ask | show | jobs
by akiselev 2233 days ago
The GP wanted to repeat some code modification 2-6 times. At that scale, adding abstractions often just adds unnecessary indirection and makes the code harder to read.
1 comments

Depends on how often they intend to make changes to that code. But in general I think you are right.