<div dir="ltr">Hi Denis,<div><br></div><div>thank you for raising this topic, I just wanted to add another piece of information: <br></div><div><a href="https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#es23-prefer-the--initializer-syntax">https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#es23-prefer-the--initializer-syntax</a><br></div><div><br></div><div>and if you have a spare night here is some serious criticism: <a href="http://mikelui.io/2019/01/03/seriously-bonkers.html">http://mikelui.io/2019/01/03/seriously-bonkers.html</a></div><div><br></div><div>Another thing to consider is that we already have so many written (and probably more unwritten) rules about coding style that I am afraid to add another one if there isn't a very good reason, we don't want to scare new potential developers.<br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 19, 2021 at 3:45 PM Denis Rouzaud <<a href="mailto:denis.rouzaud@gmail.com">denis.rouzaud@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear PSC,<div><br></div><div>I'd like to get your eyes on a technical discussion rising in a few PRs: curly braces initialization.</div><div>It's a C++ coding guideline to define, and the topic seems a bit techincal.<br></div><div><br></div><div>I'd like that we get our coding guidelines updated regarding this question. I believe this would require a few of our best low-level devs to discuss and take a decision.<br></div><div><br></div><div>I don't know if you / who could take the lead on this. I'd be happy to help, maybe organize the discussion if you consider this is OK.</div><div><br></div><div>Kind regards,</div><div>Denis</div><div><br></div><div>Some references:</div><div>last discussion in PR: <a href="https://github.com/qgis/QGIS/pull/44710#issuecomment-901921304" target="_blank">https://github.com/qgis/QGIS/pull/44710#issuecomment-901921304</a></div><div>some technical reading about the question: <a href="https://stackoverflow.com/questions/18222926/why-is-list-initialization-using-curly-braces-better-than-the-alternatives" target="_blank">https://stackoverflow.com/questions/18222926/why-is-list-initialization-using-curly-braces-better-than-the-alternatives</a></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Alessandro Pasotti</div><div>QCooperative:  <a href="https://www.qcooperative.net" target="_blank">www.qcooperative.net</a><br></div>ItOpen:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div></div>