In On Coding Standards and Code Reviews, I summarized this sentiment in two rules:
That is, I don't think you should ban cleverness, just discipline, comment and encapsulate it, so that your code base can be successfully maintained by a succession of many different programmers, with varying talents, over a period of many years.
In reply to Re: "Cleverness" from HOP
by eyepopslikeamosquito
in thread "Cleverness" from HOP
by Wiggins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |