On Wed, 26 Feb 2020 at 14:44, Tor Arne Vestbø <tor.arne.ves...@qt.io> wrote:
> > We’re neither enforcing the use of ‘emit’ currently. And I honestly find > > most of the alternatives to be worse than no annotation at all. > > I agree. > > As others have argued, a signal is not special, in the sense that any > function can do anything, including emitting signals, so annotating it > doesn’t seem critical, as we apparently are fine without in all other cases. Yep, this part of it destroys the "annotate the yield operations" for me; if I call another function that then signals, I don't see the annotation, so the warm and fuzzy feeling of safety requires a very particular programming style. _______________________________________________ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development