Why use 'nil'


#1

Hi,

When would we ever actually run a method if it does not return a value?

thanks, Freddie


#2

For instances where you just want the method to perform an action, in which case it doesn’t need to return a value.