Carl Hickman01/17/2018, 7:59 PM
StavFX01/17/2018, 8:01 PM
Carl Hickman01/17/2018, 8:03 PM
louiscad01/17/2018, 8:04 PM
methods from the stdlib are for you!
Carl Hickman01/17/2018, 8:05 PM
Jonathan Ghazarian01/17/2018, 8:08 PM
Ruckus01/17/2018, 8:26 PM
is the way to go. If you expect it to be null regularly, I'd recommend helper functions on the companion object. Generally you don't expect constructors to fail.
cedric01/17/2018, 8:39 PM