On Freitag, 22. Januar 2016 22:51:30 CET Kevin Kofler wrote:
> Marc Mutz wrote:
> > And this is where I stop taking you seriously, sorry. You can demand such
> > nonsense, but if you do, _do_ the work yourself. Go. Implement those 80+
> > algorithms from the STL for Qt. Or play god deciding which are the ones
> > "no- one will ever need" or "should never use" - IYHO.
> 
> I'd already be happy with those that were (are, actually) already there. I'd
> rather have 10-20 common algorithms with a convenient API than 80+ obscure
> ones that force me to use iterators (especially the boilerplate .begin()
> and .end() iterators that will be used in 99+% of the cases – copy&paste
> programming sucks).

You should educate yourself by watching a few of Sean Parent's talks and it 
will become clear that most of these "obscure ones" are actually very 
applicable in many scenarios where you currently write handwritten loops which 
are probably not as efficient and well-tested as the STL implementations. The 
code also becomes more self-explaining by using algorithms.

And you do know that people are working on a STL v2 for ranges which 
invalidates all your "I hate iterators" complaints?

-- 
Milian Wolff | milian.wo...@kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel: +49-30-521325470
KDAB - The Qt Experts

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to