Am 23.09.2013 10:37, schrieb Tanu Kaskinen:
Quoting the CODING_STYLE file of systemd:
- Try to use this:
void foo() {
}
instead of this:
void foo()
{
}
But it's OK if you don't.
Perhaps we could do it the other
On Mon, Sep 23, 2013 at 7:29 AM, Damir Jelić poljari...@gmail.com wrote:
On Mon, Sep 23, 2013 at 11:37:33AM +0300, Tanu Kaskinen wrote:
On Mon, 2013-09-23 at 10:21 +0200, David Henningsson wrote:
On 09/20/2013 11:23 AM, Peter Meerwald wrote:
I think both coding styles are sane and I suggest
On 09/20/2013 11:23 AM, Peter Meerwald wrote:
Having coding style similar to other projects allow people such as
myself to easier move between projects and focus on what's important:
features and fixing bugs, rather than having to remember several
different coding styles.
This is a good
On Mon, 2013-09-23 at 10:21 +0200, David Henningsson wrote:
On 09/20/2013 11:23 AM, Peter Meerwald wrote:
I think both coding styles are sane and I suggest to NOT convert to a new
style
the 'other projects' is Gnome?
Gnome, Linux Kernel, FluidSynth (as mentioned previously).
On Fri, Sep 20, 2013 at 09:50:27AM -0500, João Paulo Rechi Vita wrote:
On Fri, Sep 20, 2013 at 4:23 AM, Peter Meerwald pme...@pmeerw.net wrote:
Having coding style similar to other projects allow people such as
myself to easier move between projects and focus on what's important:
Having coding style similar to other projects allow people such as
myself to easier move between projects and focus on what's important:
features and fixing bugs, rather than having to remember several
different coding styles.
This is a good enough argument for me, so I'm not against
On Fri, Sep 20, 2013 at 4:23 AM, Peter Meerwald pme...@pmeerw.net wrote:
Having coding style similar to other projects allow people such as
myself to easier move between projects and focus on what's important:
features and fixing bugs, rather than having to remember several
different
Our current coding style currently says this:
void function(int foo) {
bar();
}
I suggest we change it to this:
void function(int foo)
{
bar();
}
To clarify, this only applies to functions, not to if statements,
structs or anything else.
This is because the latter is more standard: