The samurai had been debugging his program for a long time…

The samurai had been debugging his program for a long time.
He had observed a lot of stupid errors inside it.
But now his new code looks different.