Re: Property/method naming conventions

2001-05-08 Thread Larry Wall
Simon Cozens writes: : This also led me to think about what happens when we introduce new built-ins. : Perl 5 has had a complete built-in freeze for a long long time now because : you can't bring in a new built-in without risking smacking subroutines in : old code. Right, that's been an impedimen

Re: Property/method naming conventions

2001-05-05 Thread Simon Cozens
On Sat, May 05, 2001 at 01:10:52PM -0400, John Siracusa wrote: > This problem already exists to some degree in Perl 5. Stuff like isa() and > can() is already squatting in the lowercase "user method" namespace. But I > have a feeling that properties will multiply a lot faster than UNIVERSAL > me

Property/method naming conventions

2001-05-05 Thread John Siracusa
I know I'm jumping ahead, but here goes... Built-in classes in Perl 5 and 6 are uppercase: UNIVERSAL, ARRAY, HASH, etc. By convention, "user" classes are Title::Cased. Simple guideline: don't use UPPERCASE class names or risk being squished by a later revision of Perl. Method names *sort of* fo