<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bufferings</author_name>
  <author_url>https://blog.hatena.ne.jp/bufferings/</author_url>
  <blog_title>Mitsuyuki.Shiiba</blog_title>
  <blog_url>https://bufferings.hatenablog.com/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>僕は「パッと見て何をしてるかが伝わってくるコード」が好きです。なので「名前重要」。DDDとかじゃなくて、TransactionScript前提で話をしますが。手続きの中から、意味のある塊を見つけて、それに名前をつけてメソッド化してあげる感じ。メソッドのサイズは縦横: 30行x120文字くらいがいっかな。僕の頭はそれくらいのメモリしかないし。1つのメソッドが1つの役割を持つのがいっかな。でも、あんまり深く入っていかないで欲しい。僕の頭はスタックが3つくらいしかないし。切ったメソッドのスコープはdefault scopeでいっかなと。テストしやすいし。手続き型で典型的なのはこんな感じかなぁって思い…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbufferings.hatenablog.com%2Fentry%2F2015%2F05%2F06%2F000943&quot; title=&quot;僕の好きなコードの書き方 - Mitsuyuki.Shiiba&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-05-06 00:09:43</published>
  <title>僕の好きなコードの書き方</title>
  <type>rich</type>
  <url>https://bufferings.hatenablog.com/entry/2015/05/06/000943</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
