Copy and paste coders
May 31, 2011 Leave a comment
Or cowboys as I like to call them
Actually, that’s a little bit harsh. Just because you have a tendancy to use your clipboard a little bit more than most doesn’t necessarily make you a bad programmer, although it might shift the odds a little.
That said, copy and paste coding is fast becoming one of the things that annoy me the most during my day-to-day software development job. I’m not going to pretend that I’m whiter than white and I can’t say that I’ve never done it myself, but that was a long time ago and I wasn’t as experienced as I am now. Plus I’ve been caught out by it, and I’m pretty sure that I don’t want it to happen again.
As more and more development libraries and APIs become available, Java developers are fast moving from being a skilled programmer, able to delicately craft and sculpt classes and methods, to a semi-skilled plumber who knows where to find the right libraries and knows a minimal amount of code to connect it all together. The problem is that these plumbergrammers don’t always create those pipe connections to the highest quality, instead choosing to copy the example from the API website or some newsgroup. No big deal, well not until the server room ends up getting flooded, the copy and paste coder doesn’t understand enough to know where the leak could be coming from.