Agile Zone is brought to you in partnership with:

Mitch Pronschinske is a Senior Content Analyst at DZone. That means he writes and searches for the finest developer content in the land so that you don't have to. He often eats peanut butter and bananas, likes to make his own ringtones, enjoys card and board games, and is married to an underwear model. Mitch is a DZone Zone Leader and has posted 2569 posts at DZone. You can read more from them at their website. View Full User Profile

Deleting Code Is Hard And You Should Do It

01.02.2013
| 7435 views |
  • submit to reddit

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.