[ovs-dev] [PATCH 2/5] ofpbuf: Introduce access api for base, data and size.

Ben Pfaff blp at nicira.com
Thu Apr 3 17:14:20 UTC 2014


On Wed, Apr 02, 2014 at 12:43:10PM -0700, Jarno Rajahalme wrote:
> One more thought: Maybe the code would look cleaner, if ?getters? were
> spelled without the ?get?, like ?ofpbuf_size()?, ?ofpbuf_l2()?. I know
> it would not rhyme with the ?setters?, but as we do much less setting
> than getting it would still be cleaner? Thoughts?

I like short names for commonly called functions.



More information about the dev mailing list