On Wed, Apr 25, 2012 at 12:52 PM, Nick Coghlan <ncoghlan@gmail.com> wrote:
I agree overwriting at the end isn't ideal, but I don't think allowing
returns at module level is a significant improvement. I'd rather see a
higher level approach that specifically set out to tackle the problem
of choosing between multiple implementations of a module at runtime
that cleanly supported *testing* all the implementations in a single
process,
while still having one implementation that was used be
default.

+1 for Nick's remark.

-1 for the current proposal.