happening (in someone else's program), to debug it, to test it (by creating test data, whether by hand or by tool), and to profile it (by eyeballing the output, or using a tool to count the number of occurances of particular tags).