emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Naming FCRs


From: Jim Porter
Subject: Re: Naming FCRs
Date: Sun, 26 Dec 2021 20:38:35 -0800

On 12/26/2021 2:04 PM, Stefan Monnier wrote:
- Monomaniac objects (since they're a bit like OO-style objects but
   limited to have only exactly one method).

Perhaps "function object"? Usually, a function object is a callable entity that has state associated with it. On the other hand, the "associated state" is fuzzy enough that a reader might think "function object" includes closures, since those contain state too. Maybe that's ok, or maybe that's confusing; I guess it depends on how (if at all) FunCallableRecords relate to closures.

A good name would ideally come with a fun abbreviation.
Feel free to send me your ideas,

Or how about a "structured function", since it's a function with some additional structure, i.e. the record slots? A "strunction"? Ok, maybe that last one leans a little too far towards "fun" and not enough towards "comprehensible"...

- Jim



reply via email to

[Prev in Thread] Current Thread [Next in Thread]