At 23:36 2017-02-15, [email protected] wrote:
On 2017-02-14 17:29, Gene Wirchenko wrote:
At 01:54 2017-02-14, Dave Crozier <[email protected]> wrote:
Mike,
It is extremely hands in certain circumstances and can save you loads of extra programming work. However like yourself I tend to forget about it (as opposed to never knowing about it!!) and only after the event do I realise I could have made life easier for myself!!
     I might have used it the odd time, but dodefault() does it for me.

but this use of the Scope Resolution operator allowed me to jump 2 levels in the OOP hierarchy, Gene. DODEFAULT(x,y) would have ran the method 1 above, and that's not what I needed. Like I said, at first, it didn't seem very OOP to me, but revisiting it, I suppose it is.

It is not very OOP. I do not know enough about your case to judge whether I would do that, too, but I rather doubt it. It has the smell of a kludge, but sometimes, kludges are necessary.

Sincerely,

Gene Wirchenko


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/7cc4821f60bb3f7c3fd680066fb6e49c@mtlp000086
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to