<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xtalco</author_name>
  <author_url>https://blog.hatena.ne.jp/xtalco/</author_url>
  <blog_title>新言語 Xtalを作る日記</blog_title>
  <blog_url>https://xtalco.hatenadiary.org/</blog_url>
  <categories>
    <anon>ボツになった構文</anon>
  </categories>
  <description>Xtalはwith文の導入を考えていた時期がありました。 結論として、with文は動的型言語が持つべき機能ではない、ということになりました。 with文は確かに便利な場合もあるのですが、 時にとてもわかりにくいバグを誘発してしまいます。withがあるjavascriptで例を書いてみます。 var n = 0; with(object){ size = n; // object.size = n のつもり } ここでもしobjectのメンバにnがあれば、 object.size = object.n; となってしまいます。記述したときにはobject.nは存在しなくてうまくいったとしても、 の…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxtalco.hatenadiary.org%2Fentry%2F20090222%2F1235291354&quot; title=&quot; with文 - 新言語 Xtalを作る日記&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>2009-02-22 17:29:14</published>
  <title> with文</title>
  <type>rich</type>
  <url>https://xtalco.hatenadiary.org/entry/20090222/1235291354</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
