Upgrade to Pro — share decks privately, control downloads, hide ads and more …

AI時代のDependency Injection

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
Avatar for sunnyone sunnyone
September 15, 2026

AI時代のDependency Injection

AIにも人にも優しい文書とは

Avatar for sunnyone

sunnyone

September 15, 2026

More Decks by sunnyone

Other Decks in Programming

Transcript

  1. 歴史は密結合にどう対処したか → Dependency Injection / Inversion of Control ビジネスロジックをフレームワークから切り離す 依存するものは注入してもらう

    交換しやすく単体で理解・テストしやすくする final class OrderService { public function __construct(private PaymentGateway $gateway) {} } 6