Go to the FreeLists Home Page Home Signup Help Login
 



[haiku-development] || [Date Prev] [03-2008 Date Index] [Date Next] || [Thread Prev] [03-2008 Thread Index] [Thread Next]

[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





[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.