{"id":1224,"date":"2021-05-02T22:21:28","date_gmt":"2021-05-02T12:21:28","guid":{"rendered":"https:\/\/www.moneystock.net\/wp_e\/?p=1224"},"modified":"2021-05-02T22:21:28","modified_gmt":"2021-05-02T12:21:28","slug":"functional-programming-in-one-page","status":"publish","type":"post","link":"https:\/\/moneystock.net\/wp_e\/2021\/05\/02\/functional-programming-in-one-page\/","title":{"rendered":"Functional Programming in one page"},"content":{"rendered":"<p>A mathematical function returns the same result every time.<\/p>\n<p>The functional world has 2 characteristics.<\/p>\n<ol>\n<li>The function has no side effects. Take input and produce output. -&gt; called pure function.<\/li>\n<li>All data structure is immutable. -&gt; There is no mutable state.<\/li>\n<\/ol>\n<p>A functional programming language provides a bridge between pure functional work and the messy real world.<\/p>\n<p>Functional programming is not magic. There are still many problems that the common programming world faces.<\/p>\n<p>One nice thing is that the functional programming is working great in terms of thread-safe because there is no state with which another thread collides.<\/p>\n<p>Functional programming is a strict contact, which works.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Reference: <a href=\"https:\/\/www.youtube.com\/watch?v=0if71HOyVjY\">GOTO 2018 \u2022 Functional Programming in 40 Minutes \u2022 Russ Olsen<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A mathematical function returns the same result every time. The functional world has 2 characteristics. The function has no side effects. Take input and produce output. -&gt; called pure function. All data structure is immutable. -&gt; There is no mutable state. A functional programming language provides a bridge between pure functional work and the messy&hellip; <a class=\"more-link\" href=\"https:\/\/moneystock.net\/wp_e\/2021\/05\/02\/functional-programming-in-one-page\/\">Continue reading <span class=\"screen-reader-text\">Functional Programming in one page<\/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":[1],"tags":[550],"class_list":["post-1224","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-functional-programming","entry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/moneystock.net\/wp_e\/wp-json\/wp\/v2\/posts\/1224","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/moneystock.net\/wp_e\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/moneystock.net\/wp_e\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/moneystock.net\/wp_e\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/moneystock.net\/wp_e\/wp-json\/wp\/v2\/comments?post=1224"}],"version-history":[{"count":2,"href":"https:\/\/moneystock.net\/wp_e\/wp-json\/wp\/v2\/posts\/1224\/revisions"}],"predecessor-version":[{"id":1226,"href":"https:\/\/moneystock.net\/wp_e\/wp-json\/wp\/v2\/posts\/1224\/revisions\/1226"}],"wp:attachment":[{"href":"https:\/\/moneystock.net\/wp_e\/wp-json\/wp\/v2\/media?parent=1224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/moneystock.net\/wp_e\/wp-json\/wp\/v2\/categories?post=1224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/moneystock.net\/wp_e\/wp-json\/wp\/v2\/tags?post=1224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}