{"version":"1.0","blog_title":"Kengo's blog","width":"100%","height":"190","provider_url":"https://hatena.blog","author_name":"eller","blog_url":"https://blog.kengo-toda.jp/","image_url":null,"published":"2013-01-31 00:31:13","author_url":"https://blog.hatena.ne.jp/eller/","categories":["\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"title":"When we need to divide small class into 2 classes","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.kengo-toda.jp%2Fentry%2F2013%2F01%2F31%2F003113\" title=\"When we need to divide small class into 2 classes - Kengo&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://blog.kengo-toda.jp/entry/2013/01/31/003113","type":"rich","description":"3~4 years ago, I divided code into some classes which has own responsibility. Now, I have got another option, dividing into some classes which has 1 processing. 1 class which has 1 responsibility and 2 processing Imagine that how to code a method which returns true if given String contains letter. W\u2026"}