[Development] A modest proposal: disable lower-case keywords (emit, foreach, forever, signals, slots) by default

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Fri Feb 21 12:28:29 CET 2020


Il 21/02/20 12:15, Ville Voutilainen ha scritto:
>> without any annotation is not what we want. We'd miss vital information and reduce readability.
> Can you please explain what that vital information is?

That control is leaving the "local" function, and *anything* can happen 
at that point. Including fun stuff, like finding "this" to be deleted 
(pgrep for QPointer.*this in QWidget code). It's an important annotation 
for a developer IMNSHO.

My 2 c,
-- 
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: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/development/attachments/20200221/cedf24e2/attachment.bin>


More information about the Development mailing list