2 ms·
Given that constructors can't conform to interfaces, if you want to be able to pass a constructor around you pretty much have to do this. I agree it's probably
by lmm 13y ago
Given that constructors can't conform to interfaces, if you want to be able to pass a constructor around you pretty much have to do this. I agree it's probably overkill, but if you wanted really strong compatibility guarantees I can see how this would make sense.