Hacker News new | ask | show | jobs
by markokocic 5352 days ago
Actually cut-and-paste is ok, since the code is moved from one (wrong) place to another (better) place.

Problem is copy-and-paste, which litters codebase with duplication and lead to messy and hard to maintain code.

2 comments

The author meant copy and paste:

> Think about that ctrl-C, ctrl-V sequence next time you are about to use it.

Many people use "cut and paste" as a generic term that refers to either copy and paste or cut and paste. You have to figure out which they really mean from the context.

I know what he mean, but that's not what he said. And it is one of the primary reasons why bugs exists, you mean something, but program something else.
Agreed, I'd hate to write an application of appreciable size without cut-paste.

I currently hate an application that I'm likely to end up working on that was authored with a generous helping of copy-paste.