Clever code is not a good idea.

Clever code is hard to debug and harder to maintain.

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
—Brian Kernighan

Other studies show it is many times harder to maintain code.  I know, I’ve had to maintain code written by “clever” programmers who wrote it then quit to go to another job because it was too hard to maintain their code.