Complex programming is introduced using an example of a kangaroo that needs to have a drink without being eaten by a crocodile. The kangaroo needs to check that the crocodile is not near the water ...