------art_2374_3448663.1122346838547
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I'm not sure that IoC is the only "valid" solution.

Consider Rails, which uses convention (namely, the URL of the request) to 
determine which object to create.

On 7/25/05, Lyndon Samson <lyndon.samson / gmail.com> wrote:
> 
> Factory is a very common pattern in the java world, in some places
> it's almost considered 'Evil (TM)' to have any sort of knowledge of
> object construction.
> 
> In the Ruby world, where Classes and Objects seem to be de-emphasised,
> constructing an object with .new doesn't seem to be held as such a bad
> thing.
> 
> I know there are a few IOC containers in the RubyWorld, but they dont
> seem to be overly popular.
> 
> Why might this be so?
>

------art_2374_3448663.1122346838547--