[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: QML style guide
From:       Mark <markg85 () gmail ! com>
Date:       2012-11-06 19:22:02
Message-ID: CAPd6JnFPqDUnMnY1VgN9UYPfsD2ZAZ_O6-B0tjza2R7cEO_bnw () mail ! gmail ! com
[Download RAW message or body]

On Tue, Nov 6, 2012 at 8:10 PM, Aaron J. Seigo <aseigo@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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic