[PATCH] Add dive list view to main window
Amit Chaudhuri
amit.k.chaudhuri at gmail.com
Thu Apr 11 11:37:43 PDT 2013
Revised patch has gone in which [I think] fixes most of the format issues.
I've not changed references to pointers and I've gone with mPrefix style as
I think that's what we agreed a few days back. Now I'm not so sure, so
I'll watch the traffic overnight and will change if that's the consensus.
Am now *really* intrigued to see what Thiago says. I hate popcorn but I'm
all for free entertainment ;)
On Thu, Apr 11, 2013 at 7:00 PM, Dirk Hohndel <dirk at hohndel.org> wrote:
> Amit Chaudhuri <amit.k.chaudhuri at gmail.com> writes:
> >
> > thanks for the comments on the coding style. Some of this is new-ish to
> me
> > so apologies for any wayward tendencies. It'll sink in soon enough.
> I'll
> > revise and send a later. Might be in the morning.
>
> No problem. I think that Lubomir is right, though. We should all try to
> figure out the style we want to use right now and then try as much as
> possible to stick with it.
>
> I can still tell in parts of the existing C code when I took patches
> that I should have sent back for coding style issues but didn't because
> I didn't want to be too much of a pain to new contributors... it always
> comes back to bite you.
>
> > I'd be interested in Thiago's thoughts on pointers vs. const references
> and
> > static_cast vs C cast. The usage in the patch follows the styles I see
> in
> > Qt code examples. Doesn't necessarily mean alternatives are bad.
> Thiago?
>
> Wait... I'm getting some popcorn...
>
> I was an amused audience member seeing Thiago and Linus discuss this in
> the past. This is going to be good... :-)
>
> > And for the record, it is "hear, hear" - something to do with listening
> to
> > the speaker.....I didn't know that - so I looked it up. Learn something
> > every day..
>
> I thought it was about listening, too, but I see "here, here" so often.
>
> But then you see "its wrong" when people wanted to write "it's wrong"
> all the time. That doesn't make it right :-)
>
> /D
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130411/042b48d5/attachment.html>
More information about the subsurface
mailing list