<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>talol-rogers</author_name>
  <author_url>https://blog.hatena.ne.jp/talol-rogers/</author_url>
  <blog_title>Uzabase for Engineers</blog_title>
  <blog_url>https://tech.uzabase.com/</blog_url>
  <categories>
    <anon>Blog</anon>
    <anon>Kotlin</anon>
    <anon>Groovy</anon>
    <anon>Spee</anon>
  </categories>
  <description>はじめに こんにちは。株式会社ユーザベース Speeda事業でソフトウェアエンジニアをしている朝比奈です。 私は現在、データフィードチームに所属しており、主な言語としてGroovyを扱っています。その際にエルビス演算子を用いてプログラムを書き、個人的な学びがあったのでブログを執筆することにしました。 エルビス演算子とは そもそもエルビス演算子ってなに？という方向けにエルビス演算子について軽く説明します。 エルビス演算子 a ?: b は、「左側の評価結果が『使える値』であればそのまま使い、そうでなければ右側の値にフォールバックする」ための演算子です。 下記はKotlinでの実装例です。 fug…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.uzabase.com%2Fentry%2F2026%2F06%2F17%2F141619&quot; title=&quot;エルビス演算子の落とし穴 - Uzabase for Engineers&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>https://cdn-ak.f.st-hatena.com/images/fotolife/t/talol-rogers/20260616/20260616162730.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-06-17 14:16:19</published>
  <title>エルビス演算子の落とし穴</title>
  <type>rich</type>
  <url>https://tech.uzabase.com/entry/2026/06/17/141619</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
