# Is there room on the code “rebus” bandwagon for one more?

public traverse(node)
if (node == null)
return
traverse(node.left)
visit(node)
traverse(node.right)

public visit(node)
//Look at node

public absurd()
return 1/0

public main()
traverse(node)
try(absurd())
catch(impossible)


This pseudocode represents a famous quote, what is that quote?

• There's always room for more! – pacoverflow May 24 '16 at 22:46

Could it be

"Only he who attempts the absurd is capable of achieving the impossible.", from Unamuno, attributed as a sort of response to Cervantes, Sólo el que ensaya lo absurdo es capaz de conquistar lo imposible.

To fit the rebus more precisely, though, we must use a misattributed variation of the quote:

"In order to attain the impossible, one must attempt the absurd."
Miguel de Cervantes

This variation fits slightly better, per @Mohit Jain's reasoning (the only difference being the "inorder" node traversal)

• This fits well ... to a little less than half of the code. Is the tree-traversal stuff just a red herring? – Gareth McCaughan May 24 '16 at 20:43
• I posted the original quote, which is apparently part of the intended answer. I've been literally underground since then, though – question_asker May 24 '16 at 20:55
• Sorry, I'm now feeling very stupid. Apparently how? (Is there some out-of-band discussion going on?) Underground for ... the 50 minutes between posting the answer and the comment? What does any of that have to do with the tree-traversal code in the question having nothing to do with the quotation? (For the avoidance of doubt, none of this is intended as complaint or criticism, and the Unamuno quotation fits half the question so well that it seems likely to be right. I'm just confused.) – Gareth McCaughan May 24 '16 at 21:03
• @gareth ah, yeah, sorry - in the puzzles, etc. chat, the op indicated it was the right quote but missing something. I've just been on my way home in the time since so I've been unable to figure out which version of the quote is the one op is looking for – question_asker May 24 '16 at 21:06
• aha, understood. – Gareth McCaughan May 24 '16 at 21:07

In order to attain the impossible, one must attempt the absurd.
Miguel de Cervantes

And the reason is:

traverse(node) -> Inorder traversal
try(absurd()) -> Attempt the absurd
catch(impossible) -> Impossible (attain is synonym of reach)

How did I find it: