3 ms·
When I was in school I showed my algorithm(on paper) to my teacher and He said: "It's wrong". I strongly said: "It works!". He froze for few seconds and than sa
by milansuk 9y ago
When I was in school I showed my algorithm(on paper) to my teacher and He said: "It's wrong". I strongly said: "It works!". He froze for few seconds and than said: "Use these data for inputs" and I immediately saw the bug. Of course the entire class laughed.
I know that The story isn't about debugging, but sometimes showing "right" inputs can be very efficient way how to explain the bug to other person.
- iamacynic 9y ago"froze" implied he was scared. try "paused" or "ruminated" instead.
- twoquestions 9y agoI donno, when I see code that works and I don't know why I get plenty scared.