Re: [PATCH v3 11/11] Rewrite the style guide for headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 15, 2018 at 01:14:43PM +0100, Christophe de Dinechin wrote:
> 
> 
> > On 15 Feb 2018, at 10:19, Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote:
> > 
> > On Wed, Feb 14, 2018 at 11:24:50PM +0100, Christophe de Dinechin wrote:
> >> 
> >> 
> >>> On 14 Feb 2018, at 14:35, Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote:
> >>> 
> >>> This one sounds more like an RFC to me
> >> 
> >> Well, this is really a bug fix in the documentation more than a RFC.
> >> 
> >>> , as from a quick look in server/,
> >>> this is not the style currently in use.
> >> 
> >> As I pointed out in earlier discussions, this section of the style guide, as written currently, is mostly backwards compared to industry best practices.
> >> 
> >> Most projects today put project headers first for a reason: it catches the frequent case where a header change makes it not self-contained (therefore making it possible to break third-party code using that header).
> >> 
> >> Examples of explicit recommendations to that effect from various heavyweights:
> > 
> > I haven't said I am against this style.... What I mean is that
> > spice-server is not following this style, as far as I can tell spice-gtk
> > is not either, so adding this now to the coding styles is just odd. It
> > should reflect at least a little bit what is currently being done ;)
> 
> Well, what is done is discussing style, knowing that the current style
> is not exceedingly consistent to start with, and in doing so. I
> pointed out things that are bogus in the existing guidelines. What’s
> wrong with that? That I’m criticizing your beloved codebase? ;-)

Even with the smiley, this is not funny nor helping the discussion.
Especially when the paragraph you quote starts with "I haven't said I am against
this style....".
All I'm saying is that it's very odd to me to push something to the
coding styles which does not match at all what is inconsistently being
done in the codebase at the moment. And then I made concrete suggestions
as how I would move forward with this patch...

Christophe

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]