Hello > So, informal poll - who’s using objects for parameter passing ?
Me ! And I’ve change all my approach of the code development thanks to the objects. It’s so easy and it’s really efficient, especially if you want polymorphe parameters. I’ve replace in my own framework dozen of variables or arrays by a little number of object. It’s a dream for trace and debug. Regards, Olivier > Le 30 sept. 2016 à 19:44, Peter Jakobsson <[email protected]> a écrit : > > Hi > > I like using traditional parameters for methods because they are so exposed > for the compiler. Also I use a huge amount or globals (process and > interprocess) so they never get out of hand. I’ve found this approach to be > very reliable because parameter count and type mismatches get spotted very > early and don’t linger into production. > > But objects are very powerful since they give you a way to morph the > parameter group without auditing the call chain. At the same time I’ve stayed > away from them cos I don’t like “burying stuff in bags”. > > Since I’m considering taking the leap I thought I solicit people’s opinion > and see who’s using the object approach and what do/don’t you like about it. > JPR says we’ve to go this way in future so I can’t afford to ignore that > advice for a start ;) > > So, informal poll - who’s using objects for parameter passing ? > > Regards ! > > Peter > > ********************************************************************** > 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] > ********************************************************************** Olivier Deschanels Consultant Expert 4D SAS 66 route de Sartrouville Parc Les Erables - Batiment 4 78230 Le Pecq France Standard : +33 1 30 53 92 00 Fax : +33 1 30 53 92 01 Email : [email protected] Web : www.4D.com AIM : olivierd4d iChat olivierd4d Skype olivierd4d ********************************************************************** 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] **********************************************************************

