Pretty codes