<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>m-hiyama</author_name>
  <author_url>https://blog.hatena.ne.jp/m-hiyama/</author_url>
  <blog_title>檜山正幸のキマイラ飼育記 (はてなBlog)</blog_title>
  <blog_url>https://m-hiyama.hatenablog.com/</blog_url>
  <categories>
    <anon>雑記／備忘</anon>
  </categories>
  <description>バートランド・メイヤー（Bertrand Meyer）先生は、とにかく偉大です。局所的には、無理筋な例え話や強引な主張で僕らを笑わしてくれるのですが、全体としては実にまったく正しいことを言っています。メイヤー先生の主張のなかでも、僕がもっとも影響を受けて、はてしなく役立っているのは「Command-Query分離の原則」です。オブジェクトやシステムのインターフェイス＆実装を「CommandとQueryに分けろよ」という提案。Commandは値を持たず、副作用（つうか、主作用だけど）だけを持ちます。Queryは副作用を持たず値だけを返します。Commandとは何であるか、Queryとは何であるか…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fm-hiyama.hatenablog.com%2Fentry%2F20101216%2F1292469108&quot; title=&quot;メイヤー先生の偉大さとCommand-Query分離 - 檜山正幸のキマイラ飼育記 (はてなBlog)&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>2010-12-16 12:11:48</published>
  <title>メイヤー先生の偉大さとCommand-Query分離</title>
  <type>rich</type>
  <url>https://m-hiyama.hatenablog.com/entry/20101216/1292469108</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
