From: Daniel Brockman Date: 2005-07-16T01:08:09+09:00 Subject: Re: difference? jason r tibbetts writes: > Daniel Brockman wrote: > >> * foo.kind_of? Foo --- perfect >> * foo.is_a? Foo --- unrubyish due to `is_*?' > > What's unrubyish about is_a? It's customary not to prefix predicates by `is_'. For instance, it's `empty?', not `is_empty?'; `frozen?', not `is_frozen?'; `finite?', not `is_finite?', etc. foo.a? Foo On the other hand, that doesn't read very well. :-) Actually, I guess you could argue that the no-`is_' convention doesn't apply for parameterized methods. -- Daniel Brockman