O'Reilly logo
  • MICHAEL MASLENKO thinks this is interesting:

When you need to check multiple values for null, you can use nested let calls to handle them. But in most cases, such code ends up fairly verbose and hard to follow. It’s generally easier to use a regular if expression to check all the values together


Cover of Kotlin in Action


7 R-