Refactoring a Loop That Was Trying Too Hard | Hacker News Reader