Ad
  • Custom User Avatar

    This has the distinct code-smell of needless complexity.
    It is harder to descipher then a simple calculation because all the
    logic is spread out. Classes and abstractions should be added once
    you need them, not as a general rule.

    You can read more on the how and why in the book Clean Code by Robert C. Martin
    which I feel is required reading for any professional developer.