DiscoverNo CompromisesAre you really going to need that abstraction?
Are you really going to need that abstraction?

Are you really going to need that abstraction?

Update: 2024-03-19
Share

Description

Interfaces are a great tool for writing maintainable applications, but it is possible to go "too far" with abstraction. Or maybe, it's a bad use of time to write an abstraction up front before you really know you need it. We discuss some trade-offs and examples.

  • (00:00 ) - Life before interfaces in PHP

  • (02:30 ) - Going too far with interfaces

  • (04:45 ) - A discussion with payment gateways

  • (07:30 ) - Abstracting the database as another trap

  • (09:15 ) - Laravel makes good use of interfaces

  • (10:05 ) - Silly bit


Need some perspective on your Laravel project? We offer a code review service. Get in touch to learn more.
Comments 
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

Are you really going to need that abstraction?

Are you really going to need that abstraction?

Joel Clermont and Aaron Saray