4 ms·
In my experience most implementations either have a way of binding the context per method (JavaScript), or use a loose convention of passing the sender as the f
by alexyoung 14y ago
In my experience most implementations either have a way of binding the context per method (JavaScript), or use a loose convention of passing the sender as the first argument (Objective-C).
It seems like the Ruby libraries cited are the real issue, rather than a fundamental misconception of the concept of delegates or indeed inversion of control as a whole.