Re: Topaz 0.11 is out .. and in CVS (Finally!)
[email protected] (John Tobey) Sun, 30 Apr 2000 01:43:28 -0400 (EDT)
| Newsgroups | perl.perl6.porters |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> \\\ /// ]]] With enough bugs, all eyes are shallow. [[[ /// \\\