[Tutor] 2d list index inverting?

Hugo Arts hugo.yoshi at gmail.com
Wed May 26 22:20:56 CEST 2010


2010/5/26 spir ☣ <denis.spir at gmail.com>:
>
> No, they're not. On the contrary. Logical bugs are easily diagnosed by printing out relevant values at the right place in your code. Just do it and in 5 mn your code works as expected.
>

And wormholes are easily stabilized by lining their interior with
exotic matter ;-)

Seriously though, deciding what the relevant values and the right
places are is not always as trivial as that sentence implies. Out of
the three types of errors generally recognized (compiler errors,
run-time errors, logic errors), the logic error is the hardest to
debug, precisely because it is difficult to locate.


More information about the Tutor mailing list