Cut and paste coding is the practice of writing code to do one task, and then copying and modifying the code to do another, similar, task. It is considered harmful, because it discourages good code re-use. Also, if a bug or inefficiency is found in the copied code, it needs to be fixed in more than one place. A better coding style is modularity.

Log in or registerto write something here or to contact authors.