ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl6-Porters
perl6-Porters
Re: Topaz 0.11 is out .. and in CVS (Finally!)
by Chip Salzenberg other posts by this author
Apr 29 2000 10:20PM messages near this date
Re: Topaz 0.11 is out .. and in CVS (Finally!) | Re: Topaz 0.11 is out .. and in CVS (Finally!)
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. -              <chip@[...].com> 
 "I wanted to play hopscotch with the impenetrable mystery of existence,
     but he stepped in a wormhole and had to go in early."  // MST3K
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved