> -----Original Message-----
> From: Development <[email protected]> On Behalf Of
> Ville Voutilainen
> Sent: Friday, 21 February 2020 12:16 PM
> To: Alex Blasche <[email protected]>
> Cc: [email protected]
> Subject: Re: [Development] A modest proposal: disable lower-case
> keywords (emit, foreach, forever, signals, slots) by default
> 
> On Fri, 21 Feb 2020 at 10:42, Alex Blasche <[email protected]> wrote:
> > I think a fallback to
> >
> > somethingChanged()
> >
> > 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?

How can you tell if it's a signal being emitted or just a function call without 
the emit syntax? With the emit syntax before the signal emission, it's 
immediately obvious that it's a signal. Not all signals follow the *Changed() 
naming convention, nor should they, so it becomes even less obvious in those 
cases.
 
> _______________________________________________
> Development mailing list
> [email protected]
> https://lists.qt-project.org/listinfo/development
_______________________________________________
Development mailing list
[email protected]
https://lists.qt-project.org/listinfo/development

Reply via email to