I agree that the implicit pass-by-reference for objects only is not comfortable nor consistent with the rest of 4D. It will prevent some problems maybe for beginning programmers to not have to worry about initialization, allocation, and deallocation of objects, but it just doesn't 'fit' with how the rest of the language works.
That said, the projects I've used objects with have all been very easy to code in this style, and didn't really cause any problems. I see your point with components, though. In all, I do wish it was more consistent and more like a blob, but in real life it doesn't seem to be that big of a deal. The only benefit I can see, however, is for beginning programmers who may not understand the ramifications of passing a large object as a normal parameter and not by reference. But how many beginning programmers are left in our community? :) -- Jeffrey Kain [email protected] > On Nov 30, 2016, at 3:55 PM, Peter Jakobsson <[email protected]> wrote: > > What do other people think about this ? Is anyone else bothering about this > distinction ? ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

