On Tue, Nov 6, 2012 at 8:10 PM, Aaron J. Seigo <ase...@kde.org> wrote: > 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 > _______________________________________________ > Plasma-devel mailing list > Plasma-devel@kde.org > https://mail.kde.org/mailman/listinfo/plasma-devel >
True.. for javascript. And QML is obviously "based" on javascript and should therefore follow the defacto javascript coding standards. It's not something i like but i understand why code style is as it currently stands. _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel