print()
(or printf()
) works for these pros…
- Linus Torvalds: “I don’t like debuggers. Never have, probably never will.”
- Guido van Rossum: “…often the quickest way to debug a program is to add a few print statements to the source: the fast edit-test-debug cycle makes this simple approach very effective.”
- Robert C. “Uncle Bob” Martin: Debuggers a re wasteful timesink.
…and it works pretty nicely for me, too.