I wanted to point to a good example of code generation but it is not something I see here often. I know of some test suites that automatically generate thousands of tests but that feels a bit too artificial. I rarely use the technique so other than
(hardly "good") or some examples of automatic method generation, I couldn't come up with any. Do you have any pointers to practical code generation (other than compiler optimizers)?