June 10, 2017
11:59 a.m.
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-tp4949280p49507... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.