Re: RFC 171 (v1) my Dog $spot should call a constructor implicitly
[email protected] (Tom Christiansen)
| Newsgroups | perl.perl6.language.objects |
|---|---|
| Message-ID | <22166.967674581@chthon> |
>Do you really mean to suggest that $SPECIALVARS be (by convention) >uppercase but built in types be (by grammar) lowercase? Absolutely. That's how it's already worked. The pragmata are lowercase module names are reserved to the Core. The type name is the class name, which is the package name, which is the module name, which is the pragma name. Larry's already pre-documented int, num, and str, IIRC. Predictable naming conventions are critical to knowing what is and what is not reserved. We actually have these conventions for modules, variables, and functions already. They're written down, although maybe not all in one place. --tom