<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>methane</author_name>
  <author_url>https://blog.hatena.ne.jp/methane/</author_url>
  <blog_title>methaneのブログ</blog_title>
  <blog_url>https://methane.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>もう鎮火した騒ぎの中から、ネタを拾ってくる。 http://d.hatena.ne.jp/pmoky/20060514pmokyさんの意見は、極端に言えば「C#は例外使ったら良いんだから、関数のOutputをout属性の変数にするのは邪道だ！」という感じの話。エラー値と戻り値1つだけのときはそれでも良い。でも、プログラムの関数は数学の関数とは違う。戻り値が無いこともあれば、複数あることだってある。そのとき、JavaやC#流の代表的な回答は、「戻り値のセットを一つのクラスとする」だと思う。でも、僕はPythonのように複数の戻り値を許容する*1方が、綺麗さと簡潔さのバランスがとれていて好きだ。 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmethane.hatenablog.jp%2Fentry%2F20060517%2F1147884171&quot; title=&quot; 戻り値は何故一つ？ - methaneのブログ&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>2006-05-17 01:42:51</published>
  <title> 戻り値は何故一つ？</title>
  <type>rich</type>
  <url>https://methane.hatenablog.jp/entry/20060517/1147884171</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
