<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sironekotoro</author_name>
  <author_url>https://blog.hatena.ne.jp/sironekotoro/</author_url>
  <blog_title>sironekotoroの日記</blog_title>
  <blog_url>https://sironekotoro.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>リスト6.41 と 6.42 Gold会員とシルバー会員の判定メソッド あー、こういうコード書いた覚えあります・・・ ゴールド会員の判定ロジック if ( 100000 &lt;= $history-&gt;total_amount ) { if ( 10 &lt;= $history-&gt;purchase_frequency_per_month ) { if ( $history-&gt;return_rate &lt;= 0.001 ) { return !!1; } } } シルバー会員の判定ロジック if ( 10 &lt;= $history-&gt;purchase_frequency_per_month ) { if ( …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsironekotoro.hateblo.jp%2Fentry%2F2022%2F06%2F14%2F000000&quot; title=&quot; 「良いコード／悪いコードで学ぶ設計入門」第6章その2 ポリシーパターン #ミノ駆動本  - sironekotoroの日記&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>2022-06-14 00:00:00</published>
  <title> 「良いコード／悪いコードで学ぶ設計入門」第6章その2 ポリシーパターン #ミノ駆動本 </title>
  <type>rich</type>
  <url>https://sironekotoro.hateblo.jp/entry/2022/06/14/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
