Another critical skill for application architects is the ability to create abstractions around the particular requirements that remove specifics and map to a more generic class of problems.
对于应用程序架构师来说,另一个重要技能是,具有为特定的需求(删除细节,并将其映射为更普通的问题类别)创建抽象的能力。
A specialized type does not need to change the class attribute for elements that it does not specialize, but simply reuses by reference from more generic levels.
专门化类型不一定要改变未专门化元素的class属性,值需要通过引用更一般的层级重用。
For starters, arrays in Scala are effectively generic classes, with no "built-in" status accrued to them (at least, no more than any other class that ships with the Scala library).
对于新手,Scala中的数组实际上就是泛型类,没有增加“内置”状态(至少,不会比scala库附带的其他类多)。
应用推荐