develooper Front page | perl.perl5.porters | Postings from February 2022

Re: Pre-RFC: a `module` keyword

Thread Previous | Thread Next
Darren Duncan
February 12, 2022 08:52
Re: Pre-RFC: a `module` keyword
Message ID:
On 2022-02-12 12:48 a.m., Darren Duncan wrote:
> On 2022-02-12 12:42 a.m., G.W. Haywood via perl5-porters wrote:
>> On Fri, 11 Feb 2022, Ovid via perl5-porters wrote:
>>> ... given that the best alternative I had was `library`, I chose
>>> `module`. Suggestions welcome.
>> Trying for a short word which will be substantially different and
>> hopefully not be too contentious,
>> as in basement: vault
>> as in capsule: pill
>> as in pile: rick
>> Come to think of it, 'capsule' doesn't seem too bad even if it is
>> seven characters.  A good thesaurus is your friend.
> That's exactly what I said a few times, including earlier in this very thread, a 
> good thesaurus is your friend, use it to take words without existing use in the 
> field so you can invent the meaning you want.
> This being said, following my own advice when naming things in the past, I found 
> there is a huge overlap between appropriate names for libraries/modules/etc and 
> appropriate names for collection data types.
> Regarding "capsule" specifically, while that could work, I feel it sounds more 
> like a container data type.  But whatever.

Responding to myself, what I specifically thought at the time was that "capsule" 
was a good alternate name to essentially the same concept as an "object".  And I 
actually used the name Capsule for a time as a data type, before I ended up 
changing the name to Article (as in "article of clothing" or "newspaper 
article") in my own project.

-- Darren Duncan

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About