Duplicate code isn’t something we want in our code for various reasons. Clearly, the straightforward reason is changing the duplicate code. You need to find the same code piece everywhere it’s used and replace them all. A more complicated reason is the proper use of design principles [1]. Although it’s hard to argue against any of the reasons, I still think duplicate code can be fine. Duplicate…
1 Comment