Re: Coding style and naming conventions for C++

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

 



On Tue, 2018-01-30 at 04:47 -0500, Frediano Ziglio wrote:
> Currently there's a docs/spice_style.txt file in spice-server
> repository
> (the website on spice-space uses it).
> I don't know how much of a good idea to extend it, maybe some styles
> do not fit that well with C++ (like the multi line indentation you
> mentioned or the always brackets in the if).

Why would you not always want curly brackets in C++ as opposed to C? Or
would you like to change it universally? (I'm slightly in favor of
always curly brackets just for the 'adding debug messages' reason)

Lukas
_______________________________________________
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]