On 2012-10-10 09:10, Namespace wrote:
> You mean:
> [code]
> Foo obj;
> if (obj is null) {
> obj = otherObj.get();
> }
> [/code]
> ?
>
> Interesting point. Until now this isn't supported but I will think about
> it.
Exactly, most language supporting the elvis operator supports this form
as well, both Ruby and CoffeeScript do.
--
/Jacob Carlborg