Sample code of my book "Taming the Bad Code".