Comments on: The joy of deleting code http://prettyprint.me/2009/10/02/the-joy-of-deleting-code/ by Ran Tavory Mon, 01 Aug 2011 08:29:01 +0000 hourly 1 http://wordpress.org/?v=3.2 By: chen f http://prettyprint.me/2009/10/02/the-joy-of-deleting-code/comment-page-1/#comment-524 chen f Sun, 04 Apr 2010 17:40:09 +0000 http://prettyprint.me/?p=182#comment-524 It's true, however when deleting a code you must be 100% sure it is not needed. This usually the hardest part. It’s true, however when deleting a code you must be 100% sure it is not needed. This usually the hardest part.

]]>
By: F. Aquino http://prettyprint.me/2009/10/02/the-joy-of-deleting-code/comment-page-1/#comment-447 F. Aquino Tue, 23 Mar 2010 00:56:22 +0000 http://prettyprint.me/?p=182#comment-447 I'll DELETE to that! I’ll DELETE to that!

]]>
By: Yossale http://prettyprint.me/2009/10/02/the-joy-of-deleting-code/comment-page-1/#comment-38 Yossale Sat, 21 Nov 2009 22:35:04 +0000 http://prettyprint.me/?p=182#comment-38 I'll drink to that! :) I’ll drink to that! :)

]]>
By: Eran http://prettyprint.me/2009/10/02/the-joy-of-deleting-code/comment-page-1/#comment-37 Eran Sat, 24 Oct 2009 14:15:47 +0000 http://prettyprint.me/?p=182#comment-37 LOL Normally when I refactoring old code I find myself deleting about half of the code while maintaining the same functionality. Has anyone noticed that it is usually a big pile of ugly static code that gets to be deleted? LOL

Normally when I refactoring old code I find myself deleting about half of the code while maintaining the same functionality.

Has anyone noticed that it is usually a big pile of ugly static code that gets to be deleted?

]]>
By: Itay Maman http://prettyprint.me/2009/10/02/the-joy-of-deleting-code/comment-page-1/#comment-36 Itay Maman Sat, 03 Oct 2009 07:31:59 +0000 http://prettyprint.me/?p=182#comment-36 That's so true. Getting rid of code is joyful. Especially, if you're feeling that you're loosing control over your code, deleting redundant parts is a key step towards sanity. A slight reservation. Deleting does not always imply that no bugs are introduced. Example: you delete code that eliminates duplicates from a list. Then you realize that somewhere else in your code you needed this list to have duplicates (because it needs to be synchronized with the a raw data or something). Thus, we should not take for granted the assumption that we cannot introduce bugs when we delete. I do agree, though, that when deleting code the chances of introducing bugs are quite slim. That’s so true. Getting rid of code is joyful. Especially, if you’re feeling that you’re loosing control over your code, deleting redundant parts is a key step towards sanity.

A slight reservation. Deleting does not always imply that no bugs are introduced. Example: you delete code that eliminates duplicates from a list. Then you realize that somewhere else in your code you needed this list to have duplicates (because it needs to be synchronized with the a raw data or something). Thus, we should not take for granted the assumption that we cannot introduce bugs when we delete. I do agree, though, that when deleting code the chances of introducing bugs are quite slim.

]]>