[progress Communities] [progress Openedge Abl] Forum Post: Re: Class And Delete Object Xxxxx

  • Thread starter Thread starter marian.edu
  • Start date Start date
Status
Not open for further replies.
M

marian.edu

Guest
I’m definitively with David on this… and I do hate the ‘dispose (anti) pattern’ as well, mind you even in 4GL there are ‘unmanaged resources’ that you need to clean yourself as won’t be handled by the GC (sockets, com handles, sax/x-document, etc). On the other hand the delete object statement can be used to kill one’s references if you get hold of them… like a public get only property, maybe it would be an idea to have delete object throw an error if exercised on a private set property but that shows how little fait one can have in his/her fellow developers ;) Marian Edu Acorn IT www.acorn-it.com www.akera.io +40 740 036 212

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