It is not necessary that the code is good for any practical purpose.
The appeal lies in the ingenuity and neatness of the answer.