<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sygh</author_name>
  <author_url>https://blog.hatena.ne.jp/sygh/</author_url>
  <blog_title>syghの新フラグメント置き場</blog_title>
  <blog_url>https://sygh.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Java</anon>
    <anon>Android</anon>
    <anon>プログラミングTips</anon>
  </categories>
  <description>昨年2018年は転職したこともあって、一番よく使った言語はJavaでした。とはいっても、ほとんどはAndroidのJavaであり、サーバーサイドやデスクトップで使われている正式なJavaとはいささか性質が異なります。JavaはC/C++やC#と違ってプリプロセッサをサポートしないのですが、そのせいで一番困るもののうちのひとつはアサーション（表明）です。アサーションは「契約による設計」(design by contract) を実現・実践するために有効なプログラミング手法であり、呼び出し元が保証すべき事前条件や、呼び出し先が保証すべき事後条件をコード中に記述し、条件が満たされなかった場合はプログ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsygh.hatenadiary.jp%2Fentry%2F2019%2F01%2F01%2F232006&quot; title=&quot;Android Javaのアサーション - syghの新フラグメント置き場&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>2019-01-01 23:20:06</published>
  <title>Android Javaのアサーション</title>
  <type>rich</type>
  <url>https://sygh.hatenadiary.jp/entry/2019/01/01/232006</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
