3 ms·
> I've had multiple bugs based on whitespace being significant. Interesting. In several years programming with Python, I've had exactly zero bugs based on whit
by RyanMcGreal 16y ago
> I've had multiple bugs based on whitespace being significant.
Interesting. In several years programming with Python, I've had exactly zero bugs based on whitespace being significant.
> I can't just comment out, say, an if
What I do is comment out the if statement and add another if statement under it, like so:
#if condition:
if 1 == 1: # FIXME temp code for testing
do_something()
I always grep my code for FIXMEs before pushing to production, and have my text editor configured to highlight FIXMEs and TODOs.