<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ku__ra__ge</author_name>
  <author_url>https://blog.hatena.ne.jp/ku__ra__ge/</author_url>
  <blog_title>くらげのChangeLog</blog_title>
  <blog_url>https://culage.hatenablog.com/</blog_url>
  <categories>
    <anon>ネタ</anon>
  </categories>
  <description>http://q.hatena.ne.jp/1227762281 サブルーチンや関数を使えばプログラムの「部品」を共通化できまが、オブジェクト指向を使えば「部品を組み込む枠」を共通化できます。 . 10種類のカンマ区切りテキストファイル(CSV)を出力するプログラムを作る、という例を考えると分かりやすいと思います。 1つ1つのCSV出力は、ファイルを開いてタイトル行を書き出し、データを取得し、ループしてデータを書き出すという手順で行われます。サブルーチンや関数を駆使して10種類のCSV出力処理を記述すると、各種類のCSVを出力するためには、この手順を10個分書くか、ファイルを開くなどの共通化で…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fculage.hatenablog.com%2Fentry%2F20081129%2Fp3&quot; title=&quot;オブジェクト指向と関数型の違い - くらげのChangeLog&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>2008-11-29 00:00:02</published>
  <title>オブジェクト指向と関数型の違い</title>
  <type>rich</type>
  <url>https://culage.hatenablog.com/entry/20081129/p3</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
