Are you really going to need that abstraction?
Update: 2024-03-19
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
Top Podcasts
The Best New Comedy Podcast Right Now – June 2024The Best News Podcast Right Now – June 2024The Best New Business Podcast Right Now – June 2024The Best New Sports Podcast Right Now – June 2024The Best New True Crime Podcast Right Now – June 2024The Best New Joe Rogan Experience Podcast Right Now – June 20The Best New Dan Bongino Show Podcast Right Now – June 20The Best New Mark Levin Podcast – June 2024
In Channel