Why did the programmer always mix up Halloween and Christmas?

Because Oct 31 equals Dec 25.