Generic programming centers around the idea of abstracting from concrete, efficient algorithms to obtain generic algorithms that can be combined with different data representations to produce a wide variety of useful software.
每一门编程语言都存在类型,类型是底层数据结构在内存中的体现。不同的类型,会有不同的操作和特性,范型就是为了应对不同类型的差异,达到抽象和通用的能力。让程序员可以更聚焦到业务中,更容易实现大的价值。