<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>higayasuo</author_name>
  <author_url>https://blog.hatena.ne.jp/higayasuo/</author_url>
  <blog_title>ひがやすを技術ブログ</blog_title>
  <blog_url>https://higayasuo.hatenablog.com/</blog_url>
  <categories>
    <anon>etc</anon>
  </categories>
  <description>誤解が無いように注意がいる箇所として、重複部分の全ては継承と述べているのではないです。次のように、委譲モデルも併用しています。 複数のユースケースで使われるロジックは、共通のユースケースを抽出し、共通のユースケース名Serviceクラスに持たせる。なんとなく、このような設計にした方が良いとは思いますが、なぜ、上記のような局面において、継承モデルではなく、委譲モデルを採用したのか理由が気になるところです。 私は、単にシンプルさを求めるだけではなく、複数の人で並行で開発しやすいということも常に重視しています。一つのユースケースは一人で開発することが多い(もしくは効率が良い)と思っているので、同一ユ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhigayasuo.hatenablog.com%2Fentry%2F20070608%2F1181298613&quot; title=&quot;なぜ共通ユースケースで委譲を使うのか - ひがやすを技術ブログ&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-06-08 19:30:13</published>
  <title>なぜ共通ユースケースで委譲を使うのか</title>
  <type>rich</type>
  <url>https://higayasuo.hatenablog.com/entry/20070608/1181298613</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
