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

Nik Clayton nik at ngo.org.uk
Thu Oct 5 13:04:12 PDT 2006


Nik Clayton wrote:
>     my $lock = $user->get_optimistic_lck();
> 
> which will result in a friendly(ish) compile time error, rather than an 
> irritating, hard to track down run-time error.

s/compile time error/run time error that immediately points to the cause of 
the problem/

N


More information about the MiltonKeynes-pm mailing list