Exceptions vs ADTs in kotlin

后端 未结 0 1337
失恋的感觉
失恋的感觉 2021-02-07 13:54

In this medium article, in the Exceptions vs ADTs section, author provides these two examples:

data class Password private constructor(val value: String) {
  comp         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题