Christian Grobmeier wrote:
I saw that newer methods hold brackets in the same line as method
signature, while older doesnt.
I am a fan of
method {
}
like Knut seems to be, so can we agree on that codestyle?
Yes, let's use the traditional Unix policy.
I also saw _blub for private variables - i don't need that but can agree to it.
I never use underscore for private variables, but let's not change it
unless we are fixing something else. These are details not worth fixing
until there is something else to fix.
Should we talk about any other agreements before coding more?
We can talk all day about coding style ;)
However I would like to at least add:
- Let's not do vertical alignment [1] (just because it's ugly and hard
to maintain 100%), it's used some places in existing code
- Let's use tabs (not spaces) for indenting (most code use spaces now)
Knut
[1] http://en.wikipedia.org/wiki/Programming_style#Vertical_alignment