精華區beta PLT 關於我們 聯絡資訊
http://www.meetup.com/Functional-Thursday/events/225463973/ 這週還有一次加開場 Functional Thursday #31 也是星期四, 在同一地點 Mozilla Space 歐~~ 這次我們將有兩個主題: ## Sharing about Akka and the actor model (by Victor Chan - Software Engineer, API - MediaMath) Actor model is handy, powerful and easy to use, however, it is not (yet) perfect. This talk discuss the usage of (Akka) actors to build (web) servers and demonstrates that sometimes the simplest way is the best way. We'll discuss: ‧ How does it mix with Futures/Promise? ‧ Is it better than a typical Java approach? ‧ Is the performance good enough for production? ‧ Domain-Driven Design (DDD) vs workers (concurrent)? ‧ What do we learn from here? ## Datatypes à la Carte: 任君組合資料結構! (by SCM) 法文 "à la Carte" 意指不點套餐,而從菜單上隨喜好點菜。 Wouter Swierstra 2008 年發表的 "datatypes a la carte" (DTC) 讓我們能如同單點餐一樣地,為已存在的資料結構添加新的 case. 函數語言中容易增加新函數,但若替已存在的資料結構多增加一個 case, 就得大費周章地改所有相關函數;物件導向語言則相反 資料結構多增加個 case 只是多個繼承,但多添個 method 就得修改所有的物件。 能否使兩者都容易呢?DTC 被許多人認為是最好的解決方案。 本次 Functional Thursday, 我將作個簡介,希望大家覺得有用。 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 112.121.78.5 ※ 文章網址: https://www.ptt.cc/bbs/PLT/M.1444024244.A.896.html