Boost logo

Boost :

Subject: Re: [boost] [qvm] Terseness of syntax etc.
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2015-12-09 14:58:15


On Wed, Dec 9, 2015 at 12:31 AM, Dominique Devienne <ddevienne_at_[hidden]>
wrote:

> On Tue, Dec 8, 2015 at 9:53 PM, Emil Dotchevski <emildotchevski_at_[hidden]>
> wrote:
>
> > On Tue, Dec 8, 2015 at 8:25 AM, Phil Endecott <
> > spam_from_boost_dev_at_[hidden]> wrote:
> > > I find most of the identifiers too short.
> > You use r and w for read and write access [...]. I know, short names. :)
> > template <int I> static float r( float3 const & );
> > template <int I> static float & w( float3 & );
> >
>
> Isn't the traditional get/set a good middle-ground between terseness and
> expressiveness? My $0.02. --DD
>

It's not get/set semantics, it's read/write. Maybe I should call them
read_access/write_access.

Emil


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk