[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Naming FCRs
From: |
Stefan Monnier |
Subject: |
Naming FCRs |
Date: |
Sun, 26 Dec 2021 17:04:25 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Hi,
As the year is getting near its end, I figure it's a good time to open
a competition to choose a name for the thingy I've been playing with in
`scratch/fcr`.
The current name stands for FunCallableRecords, but this name is clearly
wrong, since it makes it sound like I'm defining a special kind of
record that just happen to be callable as a function, whereas FCRs are
really fundamentally functions that happen to have slots and a type,
like records.
So I'm asking here for suggestions of a better name.
Names that are technically "acceptable" but aren't very good:
- propertized functions (since the slots can also be called properties).
- translucent functions (since you can extract information from FCRs
without having to call them, so they're less opaque).
- categorized functions (since "category" is similar to "type").
- functions with slots.
- record-like functions.
- Monomaniac objects (since they're a bit like OO-style objects but
limited to have only exactly one method).
A good name would ideally come with a fun abbreviation.
Feel free to send me your ideas,
Stefan
- Naming FCRs,
Stefan Monnier <=