DEV Community

Discussion on: The Life-Changing Magic of Flat Code

Collapse
 
recursivefaults profile image
Ryan Latta

Haha, you're in my head. As I was writing the example I was deciding how far I wanted to carry it for correctness. I opted for keeping the code near the if's at a more abstract level. Partially hoping people wouldn't fixate on it ;)