[Development] QTCS2019 Notes from QtQml session

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Mon Nov 25 19:41:42 CET 2019


On 25/11/2019 12:35, Ulf Hermann wrote:
> Add one of the "b" to QSomething and the user code silently stops working.

It's an unfortunate consequence of shadowing; this is considered bad 
practice (e.g. ES.12). Would it help to have a warn-on-shadowing pragma?

Thanks,
-- 
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4329 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.qt-project.org/pipermail/development/attachments/20191125/8918e6a9/attachment.bin>


More information about the Development mailing list