> Would a factory method instead of the constructor add value to your
> proposal?
> public static Foo create(String)
> We get the possibility of returning a subclass of Foo instead of Foo itself.
> However I cannot think of a situation right now, where I could use it. And
> the same effect could be achieved by using a strategie object.

I'd rather not. I'd rather just reflect directly in with looking at
constructor types last. That's the simplest approach that I can see
right now.

.duncan

Reply via email to