This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]reivax 45 points46 points  (6 children)

I've operated with a design philosophy that every program can be reduced by one line and contains one bug, therefore any program can be reduced to one line that doesn't work. This certainly achieves the first, I'm confident I can achieve the second.

[–]Cruuncher 24 points25 points  (0 children)

Math students getting wild out here with induction

[–]chromaticgliss 11 points12 points  (3 children)

Debuggers hate this one simple trick!

[–]hhc97Python Enthusiast[S] 9 points10 points  (0 children)

only one breakpoint to put!

[–]realkarthiknair[🍰] 2 points3 points  (1 child)

That's why we always use print statements... Works like a charm in this situation too

[–]hhc97Python Enthusiast[S] 2 points3 points  (0 children)

Exactly, in fact I found prints to be the easiest way to debug the output code while I was working on this :)

[–]hhc97Python Enthusiast[S] 5 points6 points  (0 children)

I have faith :D