Beginners and experts (Batchelder blog post)
Gregory Ewing
greg.ewing at canterbury.ac.nz
Fri Sep 29 21:42:25 EDT 2017
Bill wrote:
> Don't be afraid to write *really descriptive* output statements, and do
> so even though you "don't need to".
Yeah, often when I'm writing something tricky I'll proactively
put in some code to print intermediate state to reassure myself
that things are on track. Being more verbose with them than I
think necessary can save a few trips around the debug cycle.
--
Greg
More information about the Python-list
mailing list