<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>E_Mattsan</author_name>
  <author_url>https://blog.hatena.ne.jp/E_Mattsan/</author_url>
  <blog_title>エンジニアのソフトウェア的愛情</blog_title>
  <blog_url>https://blog.emattsan.org/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>構造体のようなオブジェクトを扱う オブジェクト指向言語使っていても、ただの値の塊としか利用されないケースに遭遇します。 class Foo def initialize(attr_a, attr_b, attr_c) @attr_a = attr_a @attr_b = attr_b @attr_c = attr_c end def do_something(info) info.attr_1 = info.attr_1 * @attr_a info.attr_2 = info.attr_2 * @attr_b info.attr_3 = info.attr_3 * @attr_c end e…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.emattsan.org%2Fentry%2F2026%2F07%2F31%2F220000&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>https://m.media-amazon.com/images/I/51i898vTwUL._SL500_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-07-31 22:00:00</published>
  <title>オブジェクトの手続きと手続きのオブジェクト</title>
  <type>rich</type>
  <url>https://blog.emattsan.org/entry/2026/07/31/220000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
