FAQ

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@john-edwin-tobey.org>
\\\ ///
]]] With enough bugs, all eyes are shallow. [[[
/// \\\

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 8 of 27 | next ›
Discussion Overview
groupperl6-porters @
categoriesperl
postedApr 29, '00 at 7:04a
activeMay 6, '00 at 1:20a
posts27
users11
websiteperl6.org

People

Translate

site design / logo © 2019 Grokbase