DEV Community

Discussion on: How to program better (or This is what is wrong with your code)

Collapse
 
scroung720 profile image
scroung720 • Edited

That problem that you mention about having multiple is a smell identified by Martin Fowler. It is called 'shotgun surgery', I believe that happens when developers forget about abstraction. At some point someone didn't do his job and throw code without giving a refactor.