Re: [pro] Style issue about predicates

2011-01-16 Thread Ala'a Mohammad
>..., do you think it's better to code > it so that it always returns "t" for the true case? my current practice is to use other-than-nil as truth value in predicates. Even if current application needs t or nil only. this will help avoid breaking older code (which did not assum

Re: [pro] Style issue about predicates

2011-01-16 Thread Tobias C Rittweiler
In article <4d307ce8.1000...@itasoftware.com>, Daniel Weinreb wrote: > If you have a function that is a predicate, in the sense that > the function's contract says that its value should be interpreted > as being either false or true, do you think it's better to code > it so that it always return