怎么正确写concurrency

版主: huangchong

回复
头像
huangchong(净坛使者)楼主
论坛元老
论坛元老
2023-24年度优秀版主
帖子互动: 4075
帖子: 60726
注册时间: 2022年 7月 22日 01:22

怎么正确写concurrency

帖子 huangchong(净坛使者)楼主 »

头像
(ヅ)
论坛支柱
论坛支柱
帖子互动: 549
帖子: 11819
注册时间: 2022年 8月 21日 14:20

Re: 怎么正确写concurrency

帖子 (ヅ) »

tl;dr?
头像
(ヅ)
论坛支柱
论坛支柱
帖子互动: 549
帖子: 11819
注册时间: 2022年 8月 21日 14:20

Re: 怎么正确写concurrency

帖子 (ヅ) »

huangchong 写了: 2022年 11月 26日 19:48
俺最近玩达芙妮,脑细胞都快烧没了
wildthing
著名点评
著名点评
帖子互动: 278
帖子: 4550
注册时间: 2022年 7月 22日 14:25

Re: 怎么正确写concurrency

帖子 wildthing »

huangchong 写了: 2022年 11月 26日 19:48
Rediscover things that have been done in Haskell before is what Scala people likes to do.

Without do notation, using monad is just awkward as hell. Try having 10 layers of bind calls.

Also, monad is not panacea. You can't stack several of them without getting very tricky very fast.
司马光在《资治通鉴》中说日本人:'知小礼而无大义,拘小节而无大德。重末节而无廉耻,畏威而不怀德。强必盗寇,弱必卑伏'。
康熙皇帝在《康熙朝起居注》中这样评论日本人:“倭子国,最是反复无常之国。其人,甚卑贱,不知世上有恩谊,只一味慑于武威……故尔,不得对其有稍许好颜色。”

图片
回复

回到 “肚皮舞运动(Joke)”