QML style guide

Aurélien Gâteau agateau at kde.org
Tue Oct 30 17:23:25 UTC 2012


Le mardi 30 octobre 2012 18:16:26 Aurélien Gâteau a écrit :

> The only part I don't really like is putting left curly brace on its own
> line for functions because:
> 
> - having different conventions for event-handlers and function code blocks
> look inconsistent
> 
> - it differs from many coding styles: Qt QML JavaScript[...]

Mmm actually Qt QML JavaScript is closer to what you describe (but most Qt 
examples in declarative/ do not follow it :/ ), so I take that one away.

Aurélien


More information about the Plasma-devel mailing list