Comment by whyenot
15 years ago
while Ruby has blocks, which are a hack around MRI's slow function calls
Is this really the reason? I thought Ruby has blocks because Smalltalk has blocks.
15 years ago
while Ruby has blocks, which are a hack around MRI's slow function calls
Is this really the reason? I thought Ruby has blocks because Smalltalk has blocks.
I believe smalltalk block are BlockClosure objects that can be passed around like any other parameter.