<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kilrey</author_name>
  <author_url>https://blog.hatena.ne.jp/kilrey/</author_url>
  <blog_title>うっくつさん本を読む。</blog_title>
  <blog_url>https://kilrey.hatenadiary.org/</blog_url>
  <categories>
    <anon>言語</anon>
  </categories>
  <description>引数の型は事前条件の一種だ。返値の型は事後条件の一種だ。と思いついてから検索したらEiffelが出てきた。 「厳密な事前／後条件が成り立っているかどうか」を調べるためには動作条件での検証が必要になるのだが、動作条件での検証では「事前／後条件が常に成り立っているかどうか」を調べることが難しい。そのため、強い型付きの言語では型整合性という「事前／後条件の必要条件が常に成り立っているかどうか」をコンパイル時に調べている。 もしも型が一般的パラメータ、javaのgenericsのような型パラメータではなく、を持っていれば、大半の事前／後条件は厳密に判定できるのではないだろうか。*1 void meth…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkilrey.hatenadiary.org%2Fentry%2F20041006%2Fp1&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>2004-10-06 00:00:00</published>
  <title>条件</title>
  <type>rich</type>
  <url>https://kilrey.hatenadiary.org/entry/20041006/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
