Y
Hacker News
new
|
ask
|
show
|
jobs
by
zerohp
4097 days ago
I know this code is just an example, but it seems like it's entirely backwards. The "bad" code at the beginning is immediately clear in what it's doing, but the refactored code is significantly longer and hard to understand.