3 ms·
> And as a type, "block" sounds like a code block—i.e. something like a lambda. Ruby uses "block" for this, for instance. As does, notably, Objective-C, like R
by comex 12y ago
> And as a type, "block" sounds like a code block—i.e. something like a lambda. Ruby uses "block" for this, for instance.
As does, notably, Objective-C, like Ruby due to the Smalltalk heritage.
I've never heard the term "block" used to refer to heap allocations, so I don't think it would really help.