3 ms·
>you think about it, that's about the closest you can get to "nothing" Some other options could be to use None (like Python does) or Nil or Nothing itself, or
by fuzztester 2y ago
>you think about it, that's about the closest you can get to "nothing"
Some other options could be to use None (like Python does) or Nil or Nothing itself, or even ReturnsNothing to be more explicit, or even the Pascal-style procedure keyword, instead of the function keyword, for a sub routine that returns nothing.
- mrkeen 2y agoThen you have to double-up all your higher-order functions, like Java 8 futures with their thenApply vs thenAccept.