[Development] Question about QCoreApplicationData::*_libpaths

Milian Wolff milian.wolff at kdab.com
Sat Jan 23 17:39:51 CET 2016


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.wolff at kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel: +49-30-521325470
KDAB - The Qt Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5903 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20160123/2249bfea/attachment.bin>


More information about the Development mailing list