|
|
|
|
|
by lolive
325 days ago
|
|
Apart from the comment of happymellon (blaming Spring for doing things behind your back), it happens that a factory , building objects for you , will have a “bug” and retain a reference to them for whatever reason.
That is sometimes tricky to figure out.
Nothing Java can be blamed for, as these kind of tricks can happen in any language.
([newbie at C but] I suppose in C, the consumer of the object can force its deallocation, which may lead to other nasty side effect] |
|
> Java garbage collection is both great, and terrible.
> Nothing Java can be blamed for
I mean, it's not like we're discussing Java or anything. So they hate java because of something that can happen in any language?