Zombie Code

zombie code

Say no to Zombie Code

Zombie code is code that is neither dead or alive. It is undead!

As frightening as this sounds, this code is being generated every day and the amount of this code is increasing  all the time and there are hundreds of millions of lines of this code in existence worldwide.

Zombie code is code that is commented out. It is not alive because it is not runnable. But it is not dead either because it keeps coming back to haunt you! Developers see the zombie code and assume there must be a reason why it exists and leave it. Over time the live code around it changes to the point where the zombie code becomes completely unrelated to the living code.

Zombie code is an iconic amateur practice in software engineering. As a professional it is your duty to kill it whenever you find it.

This blog is named zombie code kill because it is devoted to the art of professsional software development.

Further Reading
http://www.informit.com/articles/article.aspx?p=1334908

4 thoughts on “Zombie Code

  1. I routinely go through and deliver head-shots to my zombie code. After all, their corpses still fester in the commit history if I ever need to exhume a part or two for some ghoulish reason.

  2. Pingback: Why Do We Need Software Craftmanship? | Zombie Code Kill

  3. Pingback: The Software Craftsman Book Review | Zombie Code Kill

  4. Pingback: Clean Code: Writing Code for Humans | Zombie Code Kill

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s