In SmallTalk:- 1. Blocks (i.e. anonymous functions) means that one needs not necessarily implement a /Class/ (MovieFinder), in order to vary alternative behavior, unlike Java (before 8).
2. If one does want a number of "finders" (as Classes), then one will typically see one "injected" (constructor or method injection), where each understands some common "find" message. Is the real question for 2 above, "what (or who) decides" which will be injected? -- View this message in context: http://forum.world.st/Wiring-objects-IoC-and-Service-Locator-tp4949280p4950768.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.