Custom Interfaces vs Interaction Patterns
Developers should learn and use custom interfaces when building modular applications that require clear separation of concerns, such as in microservices architectures or plugin-based systems meets developers should learn interaction patterns to build user-friendly, accessible, and maintainable interfaces, especially in front-end or full-stack roles where ui/ux is critical. Here's our take.
Custom Interfaces
Developers should learn and use custom interfaces when building modular applications that require clear separation of concerns, such as in microservices architectures or plugin-based systems
Custom Interfaces
Nice PickDevelopers should learn and use custom interfaces when building modular applications that require clear separation of concerns, such as in microservices architectures or plugin-based systems
Pros
- +They are essential for implementing design patterns like Strategy or Adapter, and for creating testable code through dependency injection, as interfaces allow mocking or stubbing in unit tests
- +Related to: object-oriented-programming, design-patterns
Cons
- -Specific tradeoffs depend on your use case
Interaction Patterns
Developers should learn interaction patterns to build user-friendly, accessible, and maintainable interfaces, especially in front-end or full-stack roles where UI/UX is critical
Pros
- +They are essential for implementing common features like drag-and-drop, infinite scrolling, or modal dialogs efficiently, reducing development time and improving usability in web, mobile, or desktop applications
- +Related to: user-experience-design, user-interface-design
Cons
- -Specific tradeoffs depend on your use case
The Verdict
Use Custom Interfaces if: You want they are essential for implementing design patterns like strategy or adapter, and for creating testable code through dependency injection, as interfaces allow mocking or stubbing in unit tests and can live with specific tradeoffs depend on your use case.
Use Interaction Patterns if: You prioritize they are essential for implementing common features like drag-and-drop, infinite scrolling, or modal dialogs efficiently, reducing development time and improving usability in web, mobile, or desktop applications over what Custom Interfaces offers.
Developers should learn and use custom interfaces when building modular applications that require clear separation of concerns, such as in microservices architectures or plugin-based systems
Disagree with our pick? nice@nicepick.dev