#103 開放閉鎖原則① SOLIDのO 「拡張に開き、修正に閉じる」って何? episode artwork

EPISODE · Dec 1, 2025 · 18 MIN

#103 開放閉鎖原則① SOLIDのO 「拡張に開き、修正に閉じる」って何?

from リファクタリングとともに生きるラジオ · host リファラジ

■ トピック SOLID原則最後のテーマ「O」 なぜ「O」を最後に残したのか? 「拡張に対して開き、修正に対して閉じる」 『Clean Architecture』におけるOCPの重要性 なぜ税率変更で既存コードを修正してはいけないのか? 「修正に対して閉じる」とはどういうことか? 他のモジュールから依存されているコードは変更しない 「リファクタリング」ができる状態は「閉じている」 「拡張に対して開く」とはどういうことか? Gitのdiffが「追加だけ」で済むのが理想 実務例: POSレジ連携における「ストラテジーパターン」の活用 OCPは他のSOLID原則の根本である 安定しつつ将来の仕様変更に柔軟であるという矛盾した理想論■ 参考リンク 『オブジェクト指向入門 第2版 原則・コンセプト』 『Clean Architecture 達人に学ぶソフトウェアの構造と設計』 トレタ社での事例 POSレジ連携アーキテクチャの解説資料■ おたよりフォームhttps://forms.gle/RYUG7T4ctmF7Srf36■ X(Twitter) https://twitter.com/refactoradio■ Bluesky https://bsky.app/profile/refactoradio.comハッシュタグは #リファラジ です。

Episode metadata supplied by the publisher feed · Published Dec 1, 2025

Embed this episode

Ready to play

#103 開放閉鎖原則① SOLIDのO 「拡張に開き、修正に閉じる」って何?

0:00 18:57

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

Frequently Asked Questions

How long is this episode of リファクタリングとともに生きるラジオ?

This episode is 18 minutes long.

When was this リファクタリングとともに生きるラジオ episode published?

This episode was published on December 1, 2025.

Can I download this リファクタリングとともに生きるラジオ episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!