[PATCH] Qt: Implement trip merging logic

Linus Torvalds torvalds at linux-foundation.org
Thu Jun 27 20:43:28 PDT 2013


On Thu, Jun 27, 2013 at 5:40 AM, Thiago Macieira <thiago at macieira.org> wrote:
>
> There is, but it starts to get ugly. So this depends on how ugly you want to
> go.

Yeah, no. The whole and only point is to make code easy to understand
and readable by having simple helper functions that cause us to avoid
duplicating code. And not have to pre-declare them because they are
purely local helpers, and have nothing to do with the object
interfaces, private or public.

All of these suggestions miss the point. They make the code harder to
understand and just introduce more points where bugs can happen, and
add pointless indirection.

All I wanted was a sane local helper function without crazy syntax, to
help good coding standards.

But "good coding standards" and "Bjarne Stroustrup" are apparently
mutually exclusive concepts.

                  Linus


More information about the subsurface mailing list