Code is written and read by humans, therefore it should be clear and concise.
Cleverness should be used in constrained situations like performance (fast inverse square root [1] comes to mind), and comments explaining the cleverness is important.
I should note [1] did a terrible job at commenting.
Cleverness should be used in constrained situations like performance (fast inverse square root [1] comes to mind), and comments explaining the cleverness is important.
I should note [1] did a terrible job at commenting.
[1] https://en.m.wikipedia.org/wiki/Fast_inverse_square_root