Skip to content

Instantly share code, notes, and snippets.

# Integer vs Float div by zero gotchas
#
#
1 / 0 = [answer]
1.0 / 0 = [answer]
# String concatenation vs interpolation
x = 5
"Num = #{x}" # Whats the output and why?
"Num = " + x # whats the output and why?