Based on what you’ve said so far I would probably ...
# codereview
d
Based on what you’ve said so far I would probably use
.apply {}
then to handle them, but then I’d usually rather deal with the syntactic inconvenience than run the slight risk of a NPE.