<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>zetamatta</author_name>
  <author_url>https://blog.hatena.ne.jp/zetamatta/</author_url>
  <blog_title>標準愚痴出力</blog_title>
  <blog_url>https://zetamatta.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>Go言語は例外がないのでアウトという人が多いわけですが、自分は「例外が取り扱いにくいシーン」というものを経験しているので、その点は実は肯定的なんですよね。 たとえば、コンストラクタで「様々な例外」が発生する時、下手に try の範囲を広げると「予期せぬ場所での例外」まで拾ってしまうので、できればコンストラクタだけを小さく try で囲みたいのです （try の範囲を広げるのであれば System.Exception ではなくて、細かい例外を全部列挙しなければいけない） しかしながら Try Dim foo = New System.IO.StreamWriter(fname,false,Sys…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzetamatta.hatenablog.com%2Fentry%2F2018%2F07%2F05%2F093024&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-07-05 09:30:24</published>
  <title>例外がエラー戻り値よりも使いにくいシーンの例（説明用）</title>
  <type>rich</type>
  <url>https://zetamatta.hatenablog.com/entry/2018/07/05/093024</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
