Go offline with the Player FM app!
Are you really going to need that abstraction?
Manage episode 407720859 series 2974897
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.
125 episodes
Manage episode 407720859 series 2974897
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.
125 episodes
All episodes
×Welcome to Player FM!
Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.