[haiku-development] Re: coding style

  • From: "Euan Kirkhope" <euan.kirkhope@xxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 3 Mar 2008 11:46:50 +0000

On 03/03/2008, Bruno Albuquerque <bga@xxxxxxxxxxxxx> wrote:
> Marcus Overhagen wrote:
>
>  >> * use "char* variable" instead of "char *variable" in C++ code
>  >
>  > I disagree with that one. The * belongs to the variable, not to the type.
>
>
> I wonder why. When I see something like this:
>
>  char* foo;
>
>  I read that foo is a pointer to a char (foo's type is "char pointer").
>  For me, moving * to be next to the variable name does not make much sense.
>
>
>  -Bruno
>
>

+infinity :D

Other related posts: