Is there a scala annotation for null checking? -
i haven't been able find scala annotation uses macros insert null checks. seems obvious use of macros. missing?
you missing scala discourages returning , using null
, pushes toward using option
(some
/none
) instead.
you can read more in daniel westheide excellent overview of option type.
Comments
Post a Comment