<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 22 Mar 2017, at 10:39, Martin Smith <<a href="mailto:Martin.Smith@qt.io" class="">Martin.Smith@qt.io</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div id="x_divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><div style="margin-top: 0px; margin-bottom: 0px;" class="">><span style="color: rgb(33, 33, 33); font-size: 13.3333px;" class="">The whole issue here is the "sure it is longer".</span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span style="color: rgb(33, 33, 33); font-size: 13.3333px;" class=""><br class=""></span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span style="color: rgb(33, 33, 33); font-size: 13.3333px;" class="">It's not the WHOLE issue. If you encounter... </span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span style="color: rgb(33, 33, 33); font-size: 13.3333px;" class=""><span style="color: rgb(33, 33, 33); font-size: 13.3333px;" class=""><br class=""></span></span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span style="color: rgb(33, 33, 33); font-size: 13.3333px;" class=""><span style="color: rgb(33, 33, 33); font-size: 13.3333px;" class="">auto keys = theHash.keys();</span></span></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><span style="color: rgb(33, 33, 33); font-size: 13.3333px;" class=""><span style="color: rgb(33, 33, 33); font-size: 13.3333px;" class=""><br class=""></span></span></div></div></div></div></blockquote><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div id="x_divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><div style="margin-top: 0px; margin-bottom: 0px;" class="">...in someone's code, you have to look around in the rest of the code to figure out what keys is, unless you are already familiar with the keys() function for whatever theHash is. </div></div><hr tabindex="-1" style="display: inline-block; width: 1086.8125px;" class=""></div></div></blockquote><br class=""></div><div>Totally agree. That’s why I never use auto's myself as then you work on many different projects after several years in complicated code you hardly remember what those ‘auto’s’ means.</div><div>I mean I am not against them in general, but as for me I prefer to have an explicit typing in my code, it’s much easier to read.</div><div><br class=""></div><div>As for QList/QVector.. With all respect to what’s already was saying in this thread, issues mentioned in original article about Qt containers are known for years and it’s more about to choose right container, I really don’t see a point why should I change something if I know exactly how my code works and why I use one or another container. </div><div><br class=""></div><div>As an example I have one project which is already about 15-17 years old..it’s big commercial product. It started with Qt3, then was at some point moved by somebody to Qt4 with Qt3Support.. then I got back to it we started to migrate it to Qt5, it took almost half a year for me to migrate it to stable version. I am not even talking about a fact that last year I hardly can answer myself which 5.* is a production version, but that’s other subject. </div><div><br class=""></div><div>So I really think that removing/changing behaviour of such core things like QList is really a bad idea. It’s not about laziness.. it’s more about that the ones who understand difference between QVector/QList etc already using them right, and for others it doest really matter..</div><div><br class=""></div><div>Yuri</div><br class=""></body></html>