Coding Standard

Bug #725622 reported by Olaf van der Spek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Opinion
Wishlist
Unassigned

Bug Description

What's the standard for class member get functions? I'd prefer the STL and Boost style like size(). No "get".

> A vimrc collection that does our style can be found here: http://hg.tangent.org/vimrc

404

> When declaring a pointer variable or argument, place the asterisk adjacent to the variable name.

Is this really needed? See http://www.zembu.com/eng/procs/c++style.html

Revision history for this message
Olaf van der Spek (olafvdspek) wrote :

> Return Values
> Parentheses are encouraged around more complex expressions. For example:
> return (x == MY_TYPE);

There's no need for them there either.

Changed in drizzle:
importance: Undecided → Wishlist
Changed in drizzle:
status: New → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.