|
Boost : |
From: Eric Lemings (lemings_at_[hidden])
Date: 2006-08-18 12:27:46
> -----Original Message-----
> From: boost-bounces_at_[hidden]
> [mailto:boost-bounces_at_[hidden]] On Behalf Of Thorsten Ottosen
> Sent: Friday, August 18, 2006 4:35 AM
> To: boost_at_[hidden]
> Subject: Re: [boost] Boost Units library preview
>
> Andy Little <andy <at> servocomm.freeserve.co.uk> writes:
>
> > // Quan
> > quan::length::ft qft(3);
> > std::cout << "quan qft.numeric_value() = "<<
> qft.numeric_value() << '\n';
> > assert(qft.numeric_value() ==3);
>
> Just a question: why is the member called numeric_value? are
> there other values?
I think Thorsten's question is a sympotom of a larger issue.
Why does Quan use such convoluted terminology? Fixed quantity?
Abstract quantity? Coherent quantity? Named quantity? Concrete
quantity? Anonymous quantity? Static unit? United value? A
general-purpose library should use simple terms and a bare minimum
of names.
Just some constructive criticism.
Eric.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk