Comments on: Goodbye to FUNCTORs
I added FUNCTORs because we thought they might be useful, and BrianH provided an elegant implementation for them (in one line).
Functors are essentially objects, but with a single entry point. They can be used for things like event processing, which holds state, but only has a single entry (method): the event action itself.
However, I don't want to pollute R3. It's always difficult to decide what is and what is not useful. (And, functors are probably not alone.)
So, in A51, they're gone. If I'm wrong in this choice, I'm sure you will tell me.
Also, we can put them into an "R3/Plus" and you can import that as a module.
The function that has been proposed as its replacement needs a better name then, so it can be added and used in mezzanine code.|
The replacement has been reformulated as an extension to FUNCT. So no worries. I look forward to seeing R3/Plus :)|
Off topic remark, but this is the first post where I noticed the change - I find the new font used for the blog to be harder to read. Makes things look kind of messy. I'm not sure, but maybe the letter/word spacing is not helping either.|
Disregard the last comment - it seems Firefox was acting up. A refresh changed things to the way they used to be.|
Post a Comment:
You can post a comment here. Keep it on-topic.