Kotlin 的 data class 會對你的程式產生什麼樣的化學反應
(ingramchen.io)
8 則討論
IngramChen
張貼於
這個設計還是會發生像下面的呼叫:
messenger.send(Topic("foo"), Text("secret"), OneToOneOption(secret=true))
然後 runtime 時就爆了