<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>masasuz</author_name>
  <author_url>https://blog.hatena.ne.jp/masasuz/</author_url>
  <blog_title>ふり返る暇なんて無いね</blog_title>
  <blog_url>https://diary.masasuzu.net/</blog_url>
  <categories>
    <anon>diary</anon>
    <anon>tech</anon>
  </categories>
  <description>特に目新しいことも無い話です。古い社内モジュールとか見るとモジュール内に設定(特定のIPやホスト名)が書かれていることが多い。 自分はこれあまりよろしくないと考えてる。設定を変える度にモジュール自体のアップデートをしないといけない。処理の変更やバグフィクスみたいな本質的な変更ではない、単なる設定変更でアップデートが必要になってしまうのだ。この場合、モジュールから設定部分を分離して別の設定ファイルを持たせる。そして、モジュール自体は設定ファイルから情報を読み出す形に変えてあげるのが理想だと思ってます。モチロン絶対に不変のものやデフォルト値として設定を持たせるのはそれはそれで限度はありつつ許容でき…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdiary.masasuzu.net%2Fentry%2F2015%2F03%2F26%2F131924&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>2015-03-26 13:19:24</published>
  <title>設定と処理をわけるということ</title>
  <type>rich</type>
  <url>https://diary.masasuzu.net/entry/2015/03/26/131924</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
