7
guarana
170d

wordpress developers be like

Comments
  • 3
    It took me so many years to realize that abstract classes are evil. They entice you into the trap of OOP design. They make you feel like you did a good job by doing the right thing. But in most cases it’s a bad design.

    In short: Whenever you think that an abstract class would be a good idea, use composition over inheritance instead.
  • 1
    @Lensflare Best thing was that the class was abstract but had no abstract methods 🤦‍♂️
Add Comment