re: How Do You Name Your Boolean Variables? VIEW POST

FULL DISCUSSION
 

For Ruby, and the humble question mark.

def intersects_with?(other)
  return false if empty? || other.empty?

  (self & other).any?
end

How would you feel about godzilla?

code of conduct - report abuse