<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>note103</author_name>
  <author_url>https://blog.hatena.ne.jp/note103/</author_url>
  <blog_title>the code to rock</blog_title>
  <blog_url>https://note103.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>Perl入学式の受講生だった5年前にも同じようなことを言っていたので変わってないな自分・・と思うとともに、この問題じたいがある種普遍的なのかな、という気も。以下、掲題の件について簡単にまとめてみたいと思います。Rubyで言うと、たとえばこんなサンプルコード。 class Foo def initialize(name:, price:) @name = name @price = price end def show return &quot;#{@name}: #{@price}円&quot; end end bar = Foo.new(name: &quot;apple&quot;, price: 100) puts bar.s…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnote103.hateblo.jp%2Fentry%2F2019%2F03%2F27%2F081524&quot; title=&quot;プログラミング入門者向けのサンプルコードで異なる名前を付けられるはずの複数の変数に同じ変数名を付けてしまう問題 - the code to rock&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>2019-03-27 08:15:24</published>
  <title>プログラミング入門者向けのサンプルコードで異なる名前を付けられるはずの複数の変数に同じ変数名を付けてしまう問題</title>
  <type>rich</type>
  <url>https://note103.hateblo.jp/entry/2019/03/27/081524</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
