Join Slack
Powered by
yeah, that's why I'm personally very against `?.le...
# announcements
k
kevinmost
03/06/2018, 11:17 PM
yeah, that's why I'm personally very against `?.let`/`?:` as a pattern in any way. If the last line of your
?.let { ... }
block returns
null
, both blocks will run. No pattern that people start to alias in their minds to `if`/`else` should
ever
run both blocks, IMO
Open in Slack
Previous
Next