Reading 12 :Defining ADTs with interfaces,Generics,Enums,and Functions用接口,术语,类型,函数定义ADTs
Objectives
- interface :
- genetic type:
- enumeraions:
- global functions on a opaque type:
- subtyping:
- 孩子懒呀
interfaces 接口
-
Something literal :孩子用脚想了一下应该是就接口吗,有什么不理解的!我们通过接口来使用ADT吗
-
Concepts: a list of method signatures without method bodies.
-
不想看了 我看个网课吧