Forum Post: RE: Using toString() on Progress Dates

  • Thread starter Thread starter bronco
  • Start date Start date
Status
Not open for further replies.
B

bronco

Guest
Well, I have to disagree, Thomas. From an encapsulation point of view it's a nono to make any assumptions what a callee does with a passed object (reference). So if A passes an object to B, A cannot (and should not) make assumptions on what B does with the passed object and therefor it's not save to delete the object manually in A. Let the GC do its work.

Continue reading...
 
Status
Not open for further replies.
Back
Top