On 12/06/2013 02:52 PM, Walter Bright wrote: > On 12/6/2013 2:40 PM, bearophile wrote: >> I think in your list you have missed the point 8, that is templates >> allow for >> data specialization, or for specialization based on compile-time values. >> >> The common example of the first is the C sort() function compared to >> the type >> specialized one. > > That's a good example.
Bjarne Stroustrup has the article "Learning Standard C++ as a New Language" where he demonstrates bearophile's point, as well as how C++ is a better language than C for novices:
http://www.stroustrup.com/new_learning.pdf Ali