Skip to content

Instantly share code, notes, and snippets.

@Radagaisus
Created March 31, 2012 15:21
Show Gist options
  • Select an option

  • Save Radagaisus/2266145 to your computer and use it in GitHub Desktop.

Select an option

Save Radagaisus/2266145 to your computer and use it in GitHub Desktop.
The Joy of Scala
scala> 4 + "1.0"
res12: String = 41.0
scala> "1.0" + 4
res13: java.lang.String = 1.04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment