11

Been working at a new job for two months and had a code review on the latest project.

My senior asked me why I had used interfaces because he dosent see the point in them and that they aren't useful. #facepalm

Comments
  • 1
    I just learned about the usefulness of interfaces.
  • 1
    there useless in massive projects that have no real structure or no real integration or no real purpose

    but very usefull in (micro) services, providers, proxies, error classes etc
  • 1
    or do something like test if a class implements throwable interface but you can't extend throwable
Add Comment