The best way to improve a program is to rewrite it.