> … other control flow features like "redo", "retry", "next", "rescue", "finally", and others.
At-a-glance afaict Smalltalk provides those features too, so I would guess Smalltalk blocks may have access to the call stack too?
At-a-glance afaict Smalltalk provides those features too, so I would guess Smalltalk blocks may have access to the call stack too?
The invovation is to have those features tied to convenient syntax.
(I should check how Smalltalk blocks behave.)
https://wirfs-brock.com/allen/things/smalltalk-things/effici...
Although I would say he didn’t get 100% there although that this point Ruby isn’t too far from that.
These are ideas that I think are worth trying to take even further. In fact, I’ve been experimenting with that.