O'Reilly logo
  • Yan Ren thinks this is interesting:

10 max 2

From

Cover of Scala for the Impatient, Second Edition

Note

scala> 10 max 2 res1: Int = 10

scala> 10.max(2) res2: Int = 10

scala> 2 max 10 res3: Int = 10