<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>idesaku</author_name>
  <author_url>https://blog.hatena.ne.jp/idesaku/</author_url>
  <blog_title>idesaku blog</blog_title>
  <blog_url>https://idesaku.hatenablog.com/</blog_url>
  <categories>
    <anon>技術</anon>
  </categories>
  <description>突然だが、メソッド名とその振る舞いについてツッコミたい。今触っているプログラムに、次のような名称のメソッドが何度も出てくる。文字列がnullまたは長さゼロの文字列であるかどうか調べる、というものである。 boolean nullCheck(String str) 先に言っておく。そもそも名前の付け方を間違っている。こんな名前のメソッドを作ってはいけない。まず、メソッドはオブジェクトの振る舞いをあらわすのだから、動詞から始まるべきである（例外もあるけど）。上記の場合、checkNull()になるべきで、nullCheck()などあり得ない。もっとも、checkNull()にしても、「nullを調…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fidesaku.hatenablog.com%2Fentry%2F20051014%2F1129300286&quot; title=&quot;nullCheck - idesaku blog&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>2005-10-14 23:31:26</published>
  <title>nullCheck</title>
  <type>rich</type>
  <url>https://idesaku.hatenablog.com/entry/20051014/1129300286</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
