<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Sicut_study</author_name>
  <author_url>https://blog.hatena.ne.jp/Sicut_study/</author_url>
  <blog_title>Uzabase for Engineers</blog_title>
  <blog_url>https://tech.uzabase.com/</blog_url>
  <categories>
    <anon>Blog</anon>
  </categories>
  <description>speakerdeck.com SOLID原則の中でも最もイメージしづらいとされるLSPですが、実は「オープン・クローズドの原則（拡張に対して開き、修正に対して閉じる）」を守る上で、オブジェクト指向において非常に重要な概念です。 1. LSPの核心は「振る舞いの契約」 LSPを一言で表すと「サブタイプ（子）はスーパータイプ（親）の振る舞いの約束を破ってはならない」という契約です。 静的型付け言語のコンパイラは「型」が合っているかは見てくれますが、「振る舞い」が守られているかまではチェックしてくれません。そのため、これはコンパイラではなく人間が意識して守るべき契約となります。 2. 陥りがちなア…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.uzabase.com%2Fentry%2F2026%2F04%2F14%2F094328&quot; title=&quot;シン・リスコフの置換原則 〜現代風に考えるSOLIDの原則〜 - Uzabase for Engineers&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/S/Sicut_study/20260410/20260410145139.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-04-14 09:43:28</published>
  <title>シン・リスコフの置換原則 〜現代風に考えるSOLIDの原則〜</title>
  <type>rich</type>
  <url>https://tech.uzabase.com/entry/2026/04/14/094328</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
