> Suppose you have: >> "nonzero(x) tests whether x is zero or not"
> Your example is confusing because the method name is not expressive enough. > Call it is_nonzero() and it is much clearer. Or maybe ensure_nonzero(x) if > you want to return x if x!=0 and something else if x==0. Well, of course, a name is just a name. So call the function 'foo' instead of 'nonzero'. Would you still be happy with the specification? Ralf -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.