Hacker News new | ask | show | jobs
by mettamage 1678 days ago
About 10 years ago, I once didn't sleep a night and was solving a problem with a switch statement that was 200 lines long.

The next day, well rested, I realized I could do the same thing with a for loop because I already had all the data I needed.