Am 27.09.2017 um 05:37 schrieb Daniel Sun:
Hi all, I have been thinking about support some syntax like `def x = if (...) { ... } else if (...) { ... } else { ... }`, which will be translated to `def x = { if (...) { ... } else if (...) { ... } else { ... } }()` Any thoughts?
I wonder...
def x = booleanCondition. iftrue {1}. elseif (anotherCondidition). iftrue {2}. elseif (yetAnotherCondition). iffalse {3}
would something like this be better ? bye Jochen