Functional Thursday #31


Details
此為加開場次.
除了原本穆老師要介紹的 Datatypes à la Carte 之外, 另有來訪的 Scala developer Victor Siu-Leung Chan~ ^^
• [19:45 ~ 20:30] (Sharing about Akka and the actor model)
Speaker: 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?
• [20:30 ~ 21:15] Datatypes à la Carte: 任君組合資料結構! (by scm)
法文 "à la Carte" 意指不點套餐,而從菜單上隨喜好點菜。Wouter Swierstra 2008 年發表的 "datatypes a la carte" (DTC) 讓我們能如同單點餐一樣地,為已存在的資料結構添加新的 case.
函數語言中容易增加新函數,但若替已存在的資料結構多增加一個 case, 就得大費周章地改所有相關函數;物件導向語言則相反,資料結構多增加個 case 只是多個繼承,但多添個 method 就得修改所有的物件。能否使兩者都容易呢?DTC 被許多人認為是最好的解決方案。本次 Functional Thursday, 我將作個簡介,希望大家覺得有用。
• [21:15 ~ ] lightning talk & 自由交流
也歡迎大家來
https://funth.hackpad.com/Functional-Thursday-Topics-sGic3s4ncNn
填填看想投稿/想要聽的主題唷!

Functional Thursday #31