<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Shiro-Neko</author_name>
  <author_url>https://blog.hatena.ne.jp/Shiro-Neko/</author_url>
  <blog_title>白猫のメモ帳</blog_title>
  <blog_url>https://shironeko.hateblo.jp/</blog_url>
  <categories>
    <anon>TypeScript</anon>
  </categories>
  <description>こんにちは。 急に春を通り越して夏なんですが、いったいどうしたんでしょうか。 桜はいつ見ればいいですか？さて、ちょっとコードを書いてて「ん？」ってなったので。 ValueObjectを作ろう オブジェクト指向ではValueObjectという概念がときどき使われます。DDDの文脈だと特によく出てきやすいです。 ざっくりいうと参照ではなく値で等価性を判断するオブジェクトです。値オブジェクトとも言いますね。 class Address { constructor(public prefecture: string, public city: string, public street: string…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshironeko.hateblo.jp%2Fentry%2F2024%2F03%2F31%2F150421&quot; title=&quot;構造的型付けとValueObject - 白猫のメモ帳&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>2024-03-31 15:04:21</published>
  <title>構造的型付けとValueObject</title>
  <type>rich</type>
  <url>https://shironeko.hateblo.jp/entry/2024/03/31/150421</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
