Hacker News new | ask | show | jobs
by player2121 1262 days ago
This code is easy to read and understand and refactoring it with a callback seems as premature optimization which does bring own flavor to it. In other words, this is a good example when perfect is the enemy of the good.