in reply to Re^4: Doing "it" only once
in thread Doing "it" only once
What are you calling my proposed solution?
I was referring, however inaccurately, to "the following inelegant code".
FWIW, lambdas are one way I typically address the need for dynamically replacing code at runtime, just as in your... "inelegant code" (for lack of a better name). In larger application contexts, object-oriented solutions are probably better, IMO.
|
|---|