QML style guide

Aaron J. Seigo aseigo at kde.org
Tue Nov 6 19:10:03 UTC 2012


On Tuesday, November 6, 2012 18:26:17 Mark wrote:
> Why can't the style follow the C++ style as close as possible?

because this is one place where QMl/JS deviates in a consistent fashion. so 
we'd be making all of *our* QML look foreign to the QML the rest of the world 
writes so as to make it conform to our C++ background :)

yes, i also like the consistency of on-new-line (and it was the style i used 
to use for even conditionals in my own code in C++ too, prior to the kdelibs 
style) .. but this is a place where it's sensible to bend to the global state 
of things.

every language has its patterns ...

-- 
Aaron J. Seigo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20121106/0a7587f0/attachment.sig>


More information about the Plasma-devel mailing list