<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dev-actindi</author_name>
  <author_url>https://blog.hatena.ne.jp/dev-actindi/</author_url>
  <blog_title>アクトインディ開発者ブログ</blog_title>
  <blog_url>https://tech.actindi.net/</blog_url>
  <categories>
    <anon>chiba</anon>
    <anon>Common</anon>
    <anon>Lisp</anon>
    <anon>愛</anon>
  </categories>
  <description>こんにちは、chibaです! 私はCommon Lispからプログラミングを始めたせいか返り値を使ったプログラミングスタイルが好きなのですが、Rubyは多値と配列と可変長引数が統合されたようになっていて、なかなか使い勝手が良く、Rubyの好きなところの一つです。いまのところ一つです。 x = 3 [0, *if x.even? [1, 2, 3] else [:a, :b, :c] end] ;⇒ [0, :a, :b, :c] def iota(n) if n.zero? 0 else [n, *iota(n - 1)] end end iota(10) ;⇒ [10, 9, 8, 7, 6…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.actindi.net%2F2010%2F01%2F21%2F3473072867&quot; title=&quot;Rubyの好きなところ - アクトインディ開発者ブログ&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-01-21 23:27:47</published>
  <title>Rubyの好きなところ</title>
  <type>rich</type>
  <url>https://tech.actindi.net/2010/01/21/3473072867</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
