Re: Topaz 0.11 is out .. and in CVS (Finally!)
[email protected] (Chip Salzenberg) Sat, 29 Apr 2000 22:20:32 -0700
| Newsgroups | perl.perl6.porters |
|---|---|
| Message-ID | <[email protected]> |
According to John Tobey:
> I think that I will learn more about Perl 5 from reading Topaz's
> header files than I did from reading Perl 5's header files.
It could happen. C++ encourages putting a lot more info in headers.
Re: Consistent naming:
> - void clear_array() { set_array_size(0); }
> - virtual void set_array_size(size_t n) { array_only(); }
> + void array_clear() { array_set_size(0); }
> + virtual void array_set_size(size_t n) { array_only(); }
> virtual void array_assign_simple(size_t n, Scalar_p *vec);
>
> // 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.
--
Chip Salzenberg - a.k.a. - <[email protected]>
"I wanted to play hopscotch with the impenetrable mystery of existence,
but he stepped in a wormhole and had to go in early." // MST3K