On Monday, 12 January 2015 at 23:18:52 UTC, bearophile wrote:
Ola Fosheim Grøstad:
(Most of std::C++ is optional, templated and inefficient...
There is no consistent culture. Though they got some thing
right with unique_ptr and new language features recently.)
I don't agree. The basic ideas of STL by Alexander Stepanov are
very good. Phobos contains related ideas, repackaged in ranges.
Ranges are a little more fundamental, ma but in practice they
are often good enough and they are often more handy. Rust has
chosen a different way so far, but will improve with higher
order generics later.
Bye,
bearophile
Lets not forget Alexander Stepanov created STL for Ada
originally, and managed to convince the C++ committee to improve
templates in a way that could properly support STL.
His ideas from generic programming precede C++.
--
Paulo