|
|
|
|
|
by jiggy2011
4694 days ago
|
|
In this case, simply refactoring to remove duplication would probably work. For example there are at least 3 different ways to send email. There is a lot of code in there that is really "framework" but it's completely baked into everything else so not really separable. There's probably at least 2 different and distinct attempts at creating a framework, and you can tell the age of the code by which it uses. The main reason it hasn't been significantly refactored is that it is astonishingly reliable considering how bad the code is. |
|