Yes it's better, note that a.len is already available to the caller, you can 
use the result for an error code or have no result value at all.

Reply via email to