6 ms·
> It's visually obvious when code is correctly indented Not always, in my experience. I’ve lost many hours to debugging only to realise some piece of code was
by dkersten 8y ago
> It's visually obvious when code is correctly indented
Not always, in my experience. I’ve lost many hours to debugging only to realise some piece of code was misindented. It doesn’t happen often and usually when code is being moved around, but when it does, its been painful.
- alain_gilbert 8y agoThe worst I have seen is: There is a merge commit (fixing conflicts) and then, a "if" condition get accidentally de-indented (compared to what it should be), and now this bug is completely invisible and the code will run just fine... (until you figure out what's going on)