Opinions: API wrapping, how close to original API should you stay?

Ian Malpass ian at indecorous.com
Wed Oct 4 22:54:52 BST 2006


Nik Clayton wrote:

> Assuming you were writing to this API, would you prefer to use:
> 
>    $ml->get_optimistic_lock()
> 
>    $ml->get_OptimisticLock()
> 
>    $ml->getOptimisticLock()
> 
> to retrieve the value, or something else?

Could you support both 1 and 3? Or would that just cause confusion?

Ian


More information about the london.pm mailing list