{"description":"\u3053\u308c\u306f\u666e\u901a\u306b\u623b\u308a\u5024 4 def method() = { 2 * 2 } println(method) // 4 \u3053\u308c\u3082\u623b\u308a\u5024 4 def method() = 2 * 2 println(method) // 4 \u3053\u3046\u3059\u308b\u3068Unit def method() { 2 * 2 } println(method) // () \u3053\u3046\u3059\u308b\u3068\u5f53\u7136\u623b\u308a\u5024 4 def method():Int = { 2 * 2 } println(method) // 4 \u3053\u3046\u3059\u308b\u3068Unit def method():Unit = { 2 * 2 } println(method) // () \u3053\u3046\u3059\u308b\u3068\u623b\u308a\u5024 4.\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog1.mammb.com%2Fentry%2F20100524%2F1274715287\" title=\"\u30e1\u30bd\u30c3\u30c9\u306e\u623b\u308a\u5024\u63a8\u8ad6 - A Memorandum\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2010-05-24 00:34:47","width":"100%","url":"https://blog1.mammb.com/entry/20100524/1274715287","blog_url":"https://blog1.mammb.com/","height":"190","type":"rich","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","version":"1.0","image_url":null,"blog_title":"A Memorandum","author_name":"Naotsugu","author_url":"https://blog.hatena.ne.jp/Naotsugu/","title":"\u30e1\u30bd\u30c3\u30c9\u306e\u623b\u308a\u5024\u63a8\u8ad6","categories":["Scala"]}