{"id":484,"date":"2005-10-26T06:00:00","date_gmt":"2005-10-25T21:00:00","guid":{"rendered":"https:\/\/ecoop.net\/memo\/2005-10-26-6.html"},"modified":"2005-10-26T06:00:00","modified_gmt":"2005-10-25T21:00:00","slug":"2005-10-26-6","status":"publish","type":"post","link":"https:\/\/www.ecoop.net\/memo\/archives\/2005-10-26-6.html","title":{"rendered":"i++ \u304c\u3067\u304d\u306a\u3044"},"content":{"rendered":"<p>\n<\/p>\n<blockquote><p>n++, ++n, n&#8211;, &#8211;n\n<\/p><\/blockquote>\n<p>\u3053\u3046\u3044\u3046\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8\/\u30c7\u30af\u30ea\u30e1\u30f3\u30c8\u5f0f\u306f Ruby \u306b\u306f\u5b58\u5728\u3057\u306a\u3044\u3002<br \/>\n\u4ee3\u308f\u308a\u306b\n<\/p>\n<blockquote><p>n+=1, n-=1\n<\/p><\/blockquote>\n<p>\u7b49\u3092\u4f7f\u3046\u3057\u304b\u306a\u3044\u307f\u305f\u3044\u3002OOP \u7684\u306b\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30bf\u30eb\u306a\u51e6\u7406\u306b\u306f Iterator \u3084 yield \u3092\u4f7f\u3048\u3063\u3066\u3053\u3068\u3067\u3057\u3087\u3046\u304b\u306d\u3002<br \/>\n&nbsp;<br \/>\n\u53c2\u8003:<br \/>\n&lt;<a href=\"http:\/\/www.ruby-lang.org\/ja\/man\/?cmd=view;name=%B1%E9%BB%BB%BB%D2%BC%B0\">http:\/\/www.ruby-lang.org\/ja\/man\/?cmd=view;name=%B1%E9%BB%BB%BB%D2%BC%B0<\/a>><\/p>\n","protected":false},"excerpt":{"rendered":"<p>n++, ++n, n&#8211;, &#8211;n \u3053\u3046\u3044\u3046\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8\/\u30c7\u30af\u30ea\u30e1\u30f3\u30c8\u5f0f\u306f Ruby \u306b\u306f\u5b58\u5728\u3057\u306a\u3044\u3002 \u4ee3\u308f\u308a\u306b n+=1, n-=1 \u7b49\u3092\u4f7f\u3046\u3057\u304b\u306a\u3044\u307f\u305f\u3044\u3002OOP \u7684\u306b\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30bf\u30eb\u306a\u51e6\u7406\u306b &hellip; <a href=\"https:\/\/www.ecoop.net\/memo\/archives\/2005-10-26-6.html\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">i++ \u304c\u3067\u304d\u306a\u3044<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[15],"class_list":["post-484","post","type-post","status-publish","format-standard","hentry","tag-ruby"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts\/484","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/comments?post=484"}],"version-history":[{"count":0,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/posts\/484\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/media?parent=484"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/categories?post=484"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ecoop.net\/memo\/wp-json\/wp\/v2\/tags?post=484"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}