=> Better by Design
Current versions of Parallel Template Library (PTL) are very similar generic and parallel software libraries for .NET, Java and Android developers.
PTL provides containers, iterators, algorithms and function objects (functors) with the following design principles:
Algorithms are totally decoupled from containers. Adding an algorithm doesn't require you to rewrite any containers.
Some of the common aspects of using PTL are:
Abstract requirements enforced through a precise set of interfaces are central to PTL. The generic components provide a new way to think about programming; they achieve abstraction without loss of efficiency.
Defining new abstract concepts and writing components in terms of them is the essence of generic programming.