http://issues.jabsorb.org/show_bug.cgi?id=25
William Becker <[EMAIL PROTECTED]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[EMAIL PROTECTED]
Status|NEW |ASSIGNED
--- Comment #1 from William Becker <[EMAIL PROTECTED]> 2008-09-18 13:42:31 ---
I propose all synchronous calls be unsupported in the next release (1.4),
considering we are already changing it to support the latest java platform.
One thing I would suggest is that callbacks be able to be put as the last
argument instead of the first.
The reason for this is for legibillity. Compare:
jabsorb.method(
function(){
jabsorb.anotherMethod(
function(){
//more code here
},
arg1b,arg2b);
},
arg1a, arg2a);
and
jabsorb.method(arg1, arg2,
function{
jabsorb.anotherMethod(
function(){
//more code here
},
arg1b,arg2b);
});
In this way chained methods follow after eachother which makes the code much
more readable.
Are there any other opinions on this?
--
Configure bugmail: http://issues.jabsorb.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.
_______________________________________________
Jabsorb-dev mailing list
[email protected]
http://lists.jabsorb.org/mailman/listinfo/jabsorb-dev