A mathematician's work is to find patterns where others see chaos.
The best way to understand a program is to try to change it.