Naming Interfaces in PHP, Java, et al.
Ditch the 'Interface' suffix—let abstractions have pure names and implementations be specific.
4 posts found
Ditch the 'Interface' suffix—let abstractions have pure names and implementations be specific.
Interfaces are like electrical outlets - they remove complexity and make components easily swappable. Learn how to use interfaces to decouple your software components.
Fat interfaces lie about their capabilities—split them into focused contracts that use types, not boolean checks.
Small leaks in your abstractions can flood your entire codebase. Design interfaces that hide implementation details, or pay the price later.