<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ema_hiro</author_name>
  <author_url>https://blog.hatena.ne.jp/ema_hiro/</author_url>
  <blog_title>emahiro/b.log</blog_title>
  <blog_url>https://ema-hiro.hatenablog.com/</blog_url>
  <categories>
    <anon>設計</anon>
    <anon>リファクタリング</anon>
  </categories>
  <description>コードの改善、という作業をここ数日ちゃんと向き合った中で気づいたことをまとめてみる。 Overview あるモデルレイヤーでユースケースごとに無限にメソッドが増えていきそうなポイントをある程度柔軟にパラメータでユースケースを指定して処理を共通化し、コードの見通しを良くする作業です。 該当のコードは僕が現在の案件にジョインしてからも歴史的な経緯を優先してユースケースごとに（同じようなコードが微妙に異なって書かれている）メソッドを追加することで要件の実現を図ってきた箇所であるが、あるユースケースを実現するときに流石にそろそろ限界では？と僕自身が常々感じていたことを改善するために時間を取ってコードの…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fema-hiro.hatenablog.com%2Fentry%2F2018%2F07%2F14%2F041600&quot; title=&quot;【雑記】改善の難しさについて - emahiro/b.log&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>2018-07-14 04:16:00</published>
  <title>【雑記】改善の難しさについて</title>
  <type>rich</type>
  <url>https://ema-hiro.hatenablog.com/entry/2018/07/14/041600</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
