Join Slack
Communities
Powered by
thinking outside the box here, but if they created...
# language-proposals
j
jw
01/13/2017, 10:43 PM
thinking outside the box here, but if they created a declaration expression you could do
Copy code
if (val taco ?= (val bar ?= (val foo ?= optionalFoo).optionalBar).optionalTaco) { ... }
only downside is that it reads backwards
Open in Slack
Previous
Next