Sometimes programming just feels too much like Hänsel and Gretel.