Alex,
what I was trying to get at was, debugging the contents of an aboject:

in a 'classic' parameter you can use internal 4D tools (find in design 
for example) to locate instances of access to a variable; and yes in 
the example you would need to transit through the call chain, but it 
would be (or at last should be) obvious where an incorrect value/data 
was set/remvoed.

Where with an object, any of the 'constructed' manipulations could add 
or remove large swaths of values (text) in the object, which to me, at 
this point, makes tracking/debugging more difficult.



On Mon, 3 Oct 2016 09:03:25 +0200, Herr Alexander Heintz wrote:
> Am 03.10.2016 um 00:04 schrieb Chip Scheide <[email protected]>:
>> 
>> When $Object is finally used as a parameter list to Final_Method, 
>> and the result/action(s) in FInal_Method are wrong due to bad 
>> parameter list/values/data
> 
> Sorry Chip,
> 
> but this sounds like a quite constructed problem.
> 
> If you program something that passes down a parameter several levels 
> deep, you as the programmer of all methods involved must make sure 
> this does not happen, as wether it happens with an element in an 
> object parameter or a classic parameter variable does not really 
> matter, the object is just the means of transport.
> 
> If you fiddle with it in between stages, its your screwup, and it can 
> happen with variables just as easily.
> 
> The exact same discussion is currently running around on our german 
> list, and the examples against using objects as parameters start to 
> become more and more constructed, downright academic (silly?).
> 
> Meaning no offense:
> 
> „oh my god, something new! I am too experienced for that, I need an 
> excuse not to bother with it“
> 
> Cheers
> Alex
> **********************************************************************
> 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]
> **********************************************************************
**********************************************************************
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]
**********************************************************************

Reply via email to