def demo(a, b)
return false if (a - b > 10)
return false if (b - a > 10)
true
end
def demo(a, b)
if (a - b > 10) return false;
if (b - a > 10) return false;
true
end
--
You received this message because you are subscribed to the Google Groups "Crystal" group.
To unsubscribe from this group and stop receiving emails from it, send an email to crystal-lang...@googlegroups.com.
To post to this group, send email to crysta...@googlegroups.com.
Visit this group at https://groups.google.com/group/crystal-lang.
To view this discussion on the web visit https://groups.google.com/d/msgid/crystal-lang/490d9d27-ffb8-4def-9576-2486085dd218%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.