<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yoskhdia</author_name>
  <author_url>https://blog.hatena.ne.jp/yoskhdia/</author_url>
  <blog_title>yoskhdia’s diary</blog_title>
  <blog_url>https://yoskhdia.hatenablog.com/</blog_url>
  <categories>
    <anon>DDD</anon>
    <anon>Scala</anon>
  </categories>
  <description>この記事はFOLIO Advent Calendar 2018の6日目です。 FOLIOでも使っている「仕様」パターンをScalaで実装する方法について紹介します。 「仕様」パターンとは Eric Evans氏とMartin Fowler氏による仕様パターンに関する論文があります。 https://martinfowler.com/apsupp/spec.pdf ※PDFです また、DDD本では次のように紹介されています。 特殊な目的を持った述語的な値オブジェクトを明示的に作成すること。仕様とは、あるオブジェクトが何らかの基準を満たしているかどうかを判定する述語である。 (中略) オブジェクト…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyoskhdia.hatenablog.com%2Fentry%2F2018%2F12%2F06%2F085621&quot; title=&quot;Scalaを例に「仕様」パターンを実装する - yoskhdia’s diary&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-12-06 08:56:21</published>
  <title>Scalaを例に「仕様」パターンを実装する</title>
  <type>rich</type>
  <url>https://yoskhdia.hatenablog.com/entry/2018/12/06/085621</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
