
4 Jun
2010
4 Jun
'10
1:25 p.m.
On 4 June 2010 09:20, Stewart, Robert <Robert.Stewart@sig.com> wrote:
"endian_pack" doesn't suggest the class' actual purpose, so a different name is in order (no pun intended). A "pack" of integers, as "integer::*_pack" indicates, is a collection, a set of integers, which is not the case here. The class also doesn't contain a collection or set of "endians." Even if you use "packed" as did Terry, the term is misleading because there aren't multiple integers packed into the object.
I'd guess that pack was chosen thinking of the verb, like the perl function pack: <http://perldoc.perl.org/functions/pack.html>.