https://kotlinlang.org logo
c

cedric

06/04/2016, 7:33 PM
@jnb: One thing I haven't seen mentioned yet, no need for the `constructor`: `constructor():this(1..100)`: Use a default parameter on the constructor instead
Guess(val range: IntRange = (1..100))