Re: A Java Brainteaser - a Static Factory method Narrative



krasicki wrote:

> Just to be clear I'm not suggesting nulling local references. I'm
> talking about deeply nested objects within objects that I do bother
> cleaning up after because they have a tendency to get orphaned as some
> CS literature suggests.

Can you elaborate on what that literature suggests how that happens?


> My frustration in life
> is that as an architect you're fed BS from the technical staff about
> how everything works just fine. When you step down a notch and spend
> time in the code you can't believe your eyes and there's no time to
> architect. Vicious, vicious cycle.

I'd try to break it by more closely collaborating with the "technical
staff". Your mileage may vary, of course.

Cheers, Ilja


.