print “[Error]: %s” %(err_msg )

·

Tim Bray has a gem of a post that I just have to quote:

A Really Satisfying Feeling

Going through a bunch of source-code files and and, one by one, removing the dozens of “print” statements that let you focus in tighter and tighter and tighter on a really obscure problem until you could finally see it. Debuggers are OK, but when the going gets tough, the tough use “print”.

Lo, behold: The tough use “print”! Though, I am not alone :)

Comments.

No comments. Be the first to add one!
Add a comment.
We'll never share your email with anyone else. We use the Gravatar system to pull in pictures based on an anonymous hash.
Once you submit your comment, it will be moderated and then show up here shortly after.