<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>isyumi-net</author_name>
  <author_url>https://blog.hatena.ne.jp/isyumi-net/</author_url>
  <blog_title>isyumi_netブログ</blog_title>
  <blog_url>https://blog.isyumi.net/</blog_url>
  <categories>
  </categories>
  <description>switch case文の中で変数に代入すると、非常に読みづらいコードになる。そのSwitch文の目的がわかりづらいしこのSwitch文がどの変数を書き換える可能性があるかを把握しづらいからだ。しかし、結局Switch文は何か値を返すために書いてある場合がほとんどである。であればその値を返す関数を作って欲しい。下のコードを見て欲しい。これは英語で入って来た曜日を日本語でPrintするコードだ。 void printJAString(String week) { String ja; switch (week) { case &quot;monday&quot;: ja = &quot;月&quot;; break; case &quot;tu…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.isyumi.net%2Fentry%2F2017%2F10%2F29%2F232124&quot; title=&quot;switch case文の後に処理を続けないで - isyumi_netブログ&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>2017-10-29 23:21:24</published>
  <title>switch case文の後に処理を続けないで</title>
  <type>rich</type>
  <url>https://blog.isyumi.net/entry/2017/10/29/232124</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
