[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: Review Request: Fixing Bball getting stuck at the corner
From: Michael Jansen <kde () michael-jansen ! biz>
Date: 2009-07-19 12:22:24
Message-ID: 200907191422.24887.kde () michael-jansen ! biz
[Download RAW message or body]
On Sunday 19 July 2009 02:55:06 Sebastian Kügler wrote:
> On Sunday 19 July 2009 02:16:13 Omer F. USTA wrote:
> > Hi , just to learn why "or" instead of common "||" ? in
> > if (m_bottom_right == 1 or m_bottom_left == 1) {
>
> I personally find "or" more readable, though I think || is more common in
> KDE code. Maybe there are some compiler intricacies to it.
>
> Otherwise I don't really know, I guess a convention is better than no
> convention for code, and we just went with ||.
David once told me we support compilers that do not understand 'and' and 'or'.
Mike
_______________________________________________
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