Brian Aker wrote:
Hi!

1) Don't use "struct" for a struct. This is C++, isn't needed at all.

++

2) Don't use typedef with struct.

++

3) I noticed that the codestyle for comments was updated for this (unless I am wrong):

/**
*
*
*
*/

The "*" on a blank line. I gotta say... I am not in favor of it. In very large part because my editor keeps screwing it up :)

Heh, my editor (vim) does it automatically (puts an asterisk, lined up properly). Monty showed the vim setting to make it work beautifully...it's been in my .vimrc for years. If someone wants it gone, I'm fine removing it (though I like them :) ).

I don't see the need for it... but I can go with majority on it. Though if someone has a vim recipe for this... I am game.

" turn on comment continuation for C style comments
set fo+=r       " formatoptions r adds new comment line automagically
" only apply on C comments, and mail forwarding "> "
set com=s1:/*,mb:*,ex:*/,:>,fb:-

Cheers,
    -Brian


_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp


_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to