Repeated code is annoying and becomes a tech liability overtime.
I think it is essential tl reiterate the code every once in a while to detect repeated code and add more abstractions.
Thank you for the short and nice advice 🙂
I have one question though. I am a bit unclear as of why you are saying that repeated code should be written and then removed and link it when writing new abstraction? Why noy just write abstraction from the start?
Repeated code is annoying and becomes a tech liability overtime.
I think it is essential tl reiterate the code every once in a while to detect repeated code and add more abstractions.
Thank you for the short and nice advice 🙂
I have one question though. I am a bit unclear as of why you are saying that repeated code should be written and then removed and link it when writing new abstraction? Why noy just write abstraction from the start?
Abstraction from the start is premature optimizacion. You have no enough evidence you will need it.
I see your point yeah. Do you have recommendations on how often should teams look for repeated code? Perhaps maybe just if someone notices it.
it is kind of a smell. No hard rules