Do you really understand the code that you read ?

If you tell me that you understood some code snippet, how could I be sure of it ? What should I check ? Even if the code to read is a simple function returning a number, without any side effects, how could you prove to me that you really understood it ?

If you reply “That’s simple: I understand a function f if I am able to predict the value of the number returned by f”, I’m…