Re: Topaz 0.11 is out .. and in CVS (Finally!)
by John Tobey other posts by this author
Apr 30 2000 1:43AM messages near this date
Re: Topaz 0.11 is out .. and in CVS (Finally!)
|
Re: Topaz 0.11 is out .. and in CVS (Finally!)
Chip Salzenberg wrote:
> According to John Tobey:
> > // Hash-specific:
> > - virtual void clear_hash();
> > - virtual void set_hash_capacity(size_t n);
> > + virtual void hash_clear();
> > + virtual void hash_set_capacity(size_t n);
> > virtual void hash_assign_simple(size_t n, Scalar_p *vec);
>
> I've pondered that. I'm trying to maintain some degree of 'verb_noun'
> naming when appropriate. But visual consistency may be more valuable.
It is a philosophical question, not just linguistic or aesthetic.
Actually, your way is probably better, assuming the methods can
theoretically all work on any Aggr. "clear_hash" means "clear as a
hash" and not "I'd better be a hash so clear me".
--
John Tobey, late nite hacker <jtobey@[...].org>
\\\ ///
]]] With enough bugs, all eyes are shallow. [[[
/// \\
Thread:
Chip Salzenberg
John Tobey
Chip Salzenberg
John Tobey
Chip Salzenberg
Chip Salzenberg
Bennett Todd
Joshua N Pritikin
Mark Hollomon
Jarkko Hietaniemi
Chip Salzenberg
Jarkko Hietaniemi
Jarkko Hietaniemi
John Tobey
Chip Salzenberg
Damien Neil
Benjamin Holzman
Chip Salzenberg
Chip Salzenberg
Benjamin Holzman
Chip Salzenberg
Benjamin Holzman
Chip Salzenberg
|