On programming

The two phases of programming: 1. Why won’t this code work? 2. Why is this code working?