Re: Callback naming

ext Robin Berjon wrote:
> E.g.:
> 
> PendingOperation captureDahut (in CaptureCallback successCallback, in
> optional ErrorCallback errorCallback);
> 
> replaced by
> 
> PendingOp captureDahut (in CaptureCB successCB, in optional ErrorCB
> errorCB);
> 

I think this is a good idea. These names will propably appear in every 
API so it shouldn't be a big burden for the reader to figure them out 
once (if not evident immediately).

There is related issue conserning SuccessCallback, ErrorCallback and 
PendingOperation interfaces. In camera API those interfaces are copied 
from Richard's Contact API draft. Would it be possible to create common 
parts specification or something similar for them to get rid of copy 
paste WebIDL?

     -ilkka

Received on Wednesday, 2 December 2009 11:45:43 UTC