2 ms·
Not sure I got it right, does A pass a reference of B to C, since it's an internal subroutine? Isn't that essentially a closure? EDIT: Reading a bit more into
by icebraining 10y ago
Not sure I got it right, does A pass a reference of B to C, since it's an internal subroutine? Isn't that essentially a closure?
EDIT: Reading a bit more into it, it's clear that's not it, thought the A/B/C example sounds like it could be done with a closure.
- graycat 10y agoAt times I've thought that that little device (pattern?) was essentially a closure, but since I don't really know what a closure is I can't really say! Uh, I've done a lot of programming in a lot of languages, but my main interest is not as a programmer but as a founder of a startup that needs some software!