<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nazodane</author_name>
  <author_url>https://blog.hatena.ne.jp/nazodane/</author_url>
  <blog_title>謎's キッチン</blog_title>
  <blog_url>https://nazodane.hatenadiary.org/</blog_url>
  <categories>
    <anon>プログラム言語</anon>
  </categories>
  <description>ネストによって可能な言語が殆どなはずだけど、あまり解説されてないので括弧付けたい病になってしまう俺。 if(a)alert(&quot;a&quot;) else if(b)alert(&quot;b&quot;) else if(c)alert(&quot;c&quot;) else alert(&quot;other&quot;); は三項演算子を使って a?alert(&quot;a&quot;): b?alert(&quot;b&quot;): c?alert(&quot;c&quot;): alert(&quot;other&quot;); と書ける…っと。(全体がvoid型という前提で)第三引数を省略する場合?:では無くて&amp;&amp;を使わないといけないってのが面倒だわな。 後、式文の塊を式にするには;じゃなくて,で繋げばいいんだけど、D言語では…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnazodane.hatenadiary.org%2Fentry%2F20070125%2F1169715444&quot; title=&quot; 三項演算子(条件式)のelse if - 謎&amp;#39;s キッチン&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>2007-01-25 17:57:24</published>
  <title> 三項演算子(条件式)のelse if</title>
  <type>rich</type>
  <url>https://nazodane.hatenadiary.org/entry/20070125/1169715444</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
