I was refactoring a module in my project and found an interesting case that implementation detail has been exposed through interface. The code before refactoring was actually did its job fine but it just looked strange in the view of abstraction design.
Simplify code with refactoring
I am sharing my experiences in code refactoring with my team members. I have shared some of the pattern that I have been using frequently. I will also share it here so I can use it as a reference in the future
