Read more

Get Rid of That Code Smell – Duplication

Henning Koch
May 21, 2012Software engineer at makandra GmbH

Removing duplication from the code is a seemingly easy task. In many cases it is pretty straight-forward – you look at similar bits of code and you move them to a common method or class that is reusable in other places. Right? No, not really. It is true that code that looks similar might be an indicator that there’s a duplication but it’s not the definitive way of determining the smell.

Illustration UI/UX Design

UI/UX Design by makandra brand

We make sure that your target audience has the best possible experience with your digital product. You get:

  • Design tailored to your audience
  • Proven processes customized to your needs
  • An expert team of experienced designers
Read more Show archive.org snapshot

If we look for duplication in our code we should look for duplicated concepts instead of similarly looking lines of code.

Posted by Henning Koch to makandra dev (2012-05-21 08:13)