Didactically Bad Code

This is code so bad that it can be used for teaching/refactoring examples/etc.

Have fun

Ruby: