On 12/09/2009 06:07 PM, Bryan Call wrote:
I personally like camel case on the variables, but a lot of our code uses
underscore (foo_bar). So I vote for saying with underscores.
I'm ok either way, but we should specify which is the "standard" going
forward. Good catch, Manjesh.
* From the example, it seems like '*' is associated with the variable
and not the type, i.e., 'char *arg' and not 'char* arg'. Can we state
this explicitly and also clarify whether this applies to references
also?
I prefer char* s, but as it currently stands the code has a lot more char *s
I prefer char* too, +1 on that as the standard notation from me, going
forward at least (we can then decide either if we want to "fix" all
existing code, or just fix as we work on it).
Cheers,
-- leif