[{"data":1,"prerenderedAt":183},["ShallowReactive",2],{"project-9235171":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":29,"sentiment":30,"stance_mix":31,"scored_comments":34,"aspects":35,"strip":39,"post_text":30,"what":41,"said":65,"maker_in_thread":115,"shape":121,"grid":125,"attempts":145,"same_week":146,"maker_shows":37,"maker_hidden":176,"reader_version":177,"card":178},"9235171","php-functional","Functors, Applicative Functors and Monads in PHP","title","Show HN: Functors, Applicative Functors and Monads in PHP","https:\u002F\u002Fgithub.com\u002Fwidmogrod\u002Fphp-functional","github.com","widmogrod",1426806167,2015,46,9,616,2565,25,"shown","languages","functional programming library","library",[24,25,26,27,28],"php","functor","monad","applicative functor","functional programming","quiet",null,{"positive":32,"neutral":33,"mixed":33,"critical":32},2,0,4,{"docs":36,"idea":38},{"positive":33,"critical":37},1,{"positive":37,"critical":37},[37,37,33,33,33,33,33,40,40],5,{"problem":42,"audience":51,"pricing":30,"motivation":55,"time_to_build":30,"stack":59,"openness":64,"stage":64,"team_size":64},{"value":43,"source":44,"evidence":45},"Bringing functional programming concepts like functors and monads to PHP.","maker",[46,49],{"id":47,"by":11,"text":48},"9237068","Well if fun factor is not good enough answer, then maybe this will work: - Using something and understanding it, are two different thing. Through implementing things in a…",{"id":50},"post",{"value":52,"source":44,"evidence":53},"PHP developers learning functional programming concepts.",[54],{"id":47,"by":11,"text":48},{"value":56,"source":44,"evidence":57},"To understand FP concepts through a familiar language and bridge FP concepts for PHP developers.",[58],{"id":47,"by":11,"text":48},[60],{"value":61,"source":44,"evidence":62},"PHP",[63],{"id":47,"by":11,"text":48},"unknown",{"praise":66,"objections":75,"requests":90,"questions":95,"alternatives":103},[67],{"value":68,"source":69,"evidence":70},"Cool project","commenter",[71],{"id":72,"by":73,"text":74},"9236276","wetmore","Very cool.",[76,83],{"value":77,"source":69,"evidence":78},"Examples need more comments and PHP-specific examples",[79],{"id":80,"by":81,"text":82},"9241119","adaml_623","Maybe some comments in the examples would help explain what the code is capable of and what it is intended to do. If you're going to do this in PHP then make more PHP examples.",{"value":84,"source":69,"evidence":85},"Why use PHP instead of functional languages",[86],{"id":87,"by":88,"text":89},"9237007","txvHN","why don't you guys just use functional languages if you need functional features, instead of hacking stuff into languages born with different purposes?",[91],{"value":92,"source":69,"evidence":93},"More PHP examples and explanatory comments",[94],{"id":80,"by":81,"text":82},[96],{"value":97,"source":69,"evidence":98},"Has PHP become more object-oriented recently?",[99],{"id":100,"by":101,"text":102},"9237162","xomateix","+1 Out of curiosity, just a quick question (disclaimer: it's been a while since I've been doing any PHP - I think it was 5.3)... Although the language had some OO capabilities, I…",[104,108],{"value":105,"source":69,"evidence":106},"Functional languages such as Haskell or similar",[107],{"id":87,"by":88,"text":89},{"value":109,"source":69,"evidence":110},"Laravel framework",[111],{"id":112,"by":113,"text":114},"9238147","kieranajp","It's come on leaps and bounds in the past few versions IMO. Partly because of new language features (proper namespaces (enabling easy autoloading), traits etc) and partly because…",{"comments":32,"answered":32,"key":116},[117,118],{"id":47,"text":48},{"id":119,"text":120},"9237186","Definitely PHP community grown a bit in areas of good design like DDD, BDD, SOLID,... There is a lot of interesting project utilizing this power. The best place to start is this…",{"commenters":122,"max_depth":34,"maker_replies":32,"first_comment_mins":123,"lifespan_hours":124},8,346,24,[126,128,130,132,134,135,138,139,143],[80,33,37,127,81,33],"project\u002Fcritical\u002Fdocs",[87,37,37,129,88,33],"project\u002Fcritical\u002Fidea",[47,37,33,131,11,37],"maker\u002Fneutral\u002Fidea",[100,37,33,133,101,33],"other\u002Fneutral\u002Fnone",[119,37,33,133,11,37],[136,37,33,133,137,33],"9237217","smt88",[112,37,33,133,113,33],[140,37,40,141,142,33],"9237915","project\u002Fpositive\u002Fidea","ledneb",[72,32,40,144,73,33],"project\u002Fpositive\u002Fnone",[],[147,152,157,162,167,171],{"id":148,"name":149,"points":150,"category":151},"9249112","Rabbits",256,"web_saas",{"id":153,"name":154,"points":155,"category":156},"9262260","Fiddle.md",129,"productivity",{"id":158,"name":159,"points":160,"category":161},"9250493","Madeon's Adventure Machine",85,"creative",{"id":163,"name":164,"points":165,"category":166},"9243085","Firesize",58,"infrastructure",{"id":168,"name":169,"points":170,"category":156},"9233095","Stripe for Gmail",56,{"id":172,"name":173,"points":174,"category":175},"9257821","connoratherton.com",49,"dev_tools",false,"v2",{"id":179,"name":5,"line":6,"ai":176,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":30,"top":18,"kw":180,"maker":11,"domain":10,"tier":19,"attempts":33,"strip":181,"url":9,"mix":182,"praise":68,"objection":77,"sub":21},9235171,[24,25,26,27,28],"110000055",[32,33,33,32],1794036529567]