{"id":4735,"date":"2012-04-27T14:54:06","date_gmt":"2012-04-27T19:54:06","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=4735"},"modified":"2012-04-28T09:55:49","modified_gmt":"2012-04-28T14:55:49","slug":"functional-programming-in-c","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2012\/04\/27\/functional-programming-in-c\/","title":{"rendered":"Functional Programming in C++"},"content":{"rendered":"<p><a href=\"http:\/\/www.altdevblogaday.com\/2012\/04\/26\/functional-programming-in-c\/\">John Carmack<\/a>:<\/p>\n<blockquote cite=\"http:\/\/www.altdevblogaday.com\/2012\/04\/26\/functional-programming-in-c\/\"><p>No matter what language you work in, programming in a functional style provides benefits. You should do it whenever it is convenient, and you should think hard about the decision when it isn&rsquo;t convenient.<\/p><\/blockquote>\n<p>I love this <a href=\"https:\/\/twitter.com\/#!\/mfeathers\/statuses\/29581296216\">tweet<\/a> from Michael Feathers (author of the excellent <a href=\"http:\/\/www.amazon.com\/dp\/0131177052\/?tag=michaeltsai-20\">Working Effectively with Legacy Code<\/a>):<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/#!\/mfeathers\/statuses\/29581296216\"><p>OO makes code understandable by encapsulating moving parts. FP makes code understandable by minimizing moving parts.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>John Carmack: No matter what language you work in, programming in a functional style provides benefits. You should do it whenever it is convenient, and you should think hard about the decision when it isn&rsquo;t convenient. I love this tweet from Michael Feathers (author of the excellent Working Effectively with Legacy Code): OO makes code [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-4735","post","type-post","status-publish","format-standard","hentry","category-programming-category"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/4735","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=4735"}],"version-history":[{"count":6,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/4735\/revisions"}],"predecessor-version":[{"id":4741,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/4735\/revisions\/4741"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=4735"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=4735"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=4735"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}