27-Sep-2013 17:47, Joseph Rushton Wakeling пишет:
On 27/09/13 12:37, Dicebot wrote:
[snip]
One thing I don't like: David uses "num" and "denom" for the public
methods to get numerator and denominator.  I think it should be
"numerator" and "denominator".  This matches Boost.Rational but I don't
know if David was naming these methods by analogy to some other
library/language.

I bet the reason is practicality: try using full names of
denominator/numerator in some involved numeric code. It's a mess.
One may argue you need not access numerator and denominator explicitly that much but I think it happens.

--
Dmitry Olshansky

Reply via email to