> For those of you that pass parameters, order can matter. It's been, what,
> 30 years now I've been using 4D (!)  and I *still* have to double-check
> Position and Find in array
> 
> Position(Needle;Haystack)
> Find in array(Haystack;Needle)
> 
> So, just thinking, be kind to yourself...find a pattern and follow it. I
> end up going back from time to time and reworking parameter lists in
> related code to keep arguments the same or at least in the same order.
> Granted, sometimes you don't have the same list of parameters, but at least
> keeping chains in the same order is a help.

indeed!
I've settled on
1       object/subject to be affected
2       action or verb
Like menu-ordering or kind of RPN 
<https://en.wikipedia.org/wiki/Reverse_Polish_notation>

if it's too funny sounding, I break the rule



Regards
O r t w i n  Z i l l g e n
---------------------------------------------
<mailto:[email protected]>   <http://dddd.mettre.de/wp/?4713>
<feed://dddd.mettre.de/dddd.xml> <https://twitter.com/Ozett>
member of developer-network <http://www.die4Dwerkstatt.de>

**********************************************************************
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