News for hackers. Stuff that matters.
Re:I hate cut-and-paste by markokocic on Monday October 24, 2011 @05:35AM (#3148868)
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.

Re:I hate cut-and-paste by Stratoscope on Monday October 24, 2011 @12:48PM (#3150401)
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.

Re:I hate cut-and-paste by markokocic on Monday October 24, 2011 @06:24PM (#3151906)
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.
Re:I hate cut-and-paste by frobozz on Monday October 24, 2011 @11:49AM (#3150101)
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.