On Thu, 2019-10-17 at 20:01 +0000, Martin Smith wrote:
> But that argues for not allowing the comma.
> 
> QObject* x;
> QObject* y;
> 
> I've always done it that way.

+1 for not allowing the comma. It's not as much of an issue for simple
types (int x, y), but combining it with pointers and references
introduces ambiguity and makes the code less readable - and readability
is, IMHO, far more important than saving a few keystrokes.

Kyle
_______________________________________________
Development mailing list
[email protected]
https://lists.qt-project.org/listinfo/development

Reply via email to