<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tarao</author_name>
  <author_url>https://blog.hatena.ne.jp/tarao/</author_url>
  <blog_title>貳佰伍拾陸夜日記</blog_title>
  <blog_url>https://tarao.hatenablog.com/</blog_url>
  <categories>
    <anon>article</anon>
    <anon>lambda</anon>
    <anon>lang</anon>
    <anon>scala</anon>
    <anon>javascript</anon>
  </categories>
  <description>よく型なし vs. 型付の文脈では「型を書くのは面倒だ」「安全の方が大事だ」「でも面倒だ」「それは型推論を前提にしていないからだ」などの議論になりがちな気がしますが、これはあくまで「計算ありきの型」を考えているからで, 「型ありきの計算」だと全く見え方が違います. 「型はある種の仕様」とおもえば, 型ファーストであることと, 型なし言語でテスト駆動開発(TDD)するときに最初にテストを書くこととは, 同じなんだよなぁと思っていました. そして型ファーストが重要な理由をつきつめていくと, Curry-Howard同型対応があるからだなぁという結論に至ったので, それを言語化しました.</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftarao.hatenablog.com%2Fentry%2Ftype-first&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>https://cdn-ak.f.st-hatena.com/images/fotolife/t/tarao/20200210/20200210222444.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-02-18 10:23:37</published>
  <title>なぜ型ファーストで考えるのか</title>
  <type>rich</type>
  <url>https://tarao.hatenablog.com/entry/type-first</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
