Over a million developers have joined DZone.

Deleting Code Is Hard And You Should Do It

· Agile Zone

Reduce testing time & get feedback faster through automation. Read the Benefits of Parallel Testing, brought to you in partnership with Sauce Labs.

Being a clean coder is all about knowing which code to leave out.  You also need to know what code to delete when it becomes obsolete, or if it was never needed in the first place.

Adding code is easy. Everyone gets their start by cut-n-pasting some else's code. But every line of code you don't need is a burden. Delete that s++t.

The Agile Zone is brought to you in partnership with Sauce Labs. Discover how to optimize your DevOps workflows with our cloud-based automated testing infrastructure.


The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}