Re: Argument order rules of thumb

2016-06-01 Thread Shark Xu
Also can we consider that put some special argument in some special position. The main problem data, which often be the criteria of function dispatch, similar to OO's method target object, can as first parameter or after the missing process parameter? So we can have a consistent parameter order

Re: Argument order rules of thumb

2016-06-01 Thread Shark Xu
I think the tradition is more general: abstract process which need missing process passed in(seems all high order functions under this category) should have missing process comes first as it's parameter. This tradition not only limited to sequence parameter. 在 2008年4月17日星期四 UTC+8下午10:07:21,Rich