<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>suzaku0914</author_name>
  <author_url>https://blog.hatena.ne.jp/suzaku0914/</author_url>
  <blog_title>エンターテイメント！！</blog_title>
  <blog_url>https://suzaku-tec.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Java</anon>
    <anon>プログラミング</anon>
    <anon>日記</anon>
  </categories>
  <description>きっかけ 前提 三項演算子 if文で書くとどうなるか？ 三項演算子のメリット 三項演算子のデメリット 複数項 演算子の優先順位 三項演算子でやっちゃいけないこと 三項演算子を使うべきパターン 気をつけること きっかけ 現場でああだこうだ言っていたので、自分の考えをまとめる。 思うんだけど、現場の人間と挨拶以外に話さない日が多い気がするんだが、これは普通のことだよね？ 前提 Java10 三項演算子 class Test { public static void main(String args[]) { int a = 0; int answer = a == 0 ? 10 : 11; Sys…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsuzaku-tec.hatenadiary.jp%2Fentry%2F2018%2F11%2F17%2F005018&quot; title=&quot;三項演算子について考え直した - エンターテイメント！！&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>2018-11-17 00:50:18</published>
  <title>三項演算子について考え直した</title>
  <type>rich</type>
  <url>https://suzaku-tec.hatenadiary.jp/entry/2018/11/17/005018</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
