Rant after trying Rust a bit
Adam D. Ruppe via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jul 23 06:33:42 PDT 2015
On Wednesday, 22 July 2015 at 21:04:57 UTC, simendsjo wrote:
> :) The example was written to save space. I recon you
> understand what I mean.
Yeah, but the if/else is one of the most useful examples of it,
and is covered by ?:, so the whole thing becomes less compelling
then.
The other places where I've used it in languages that support it
are little blocks crammed into a line and sometimes exception
grabbing... but still, the value isn't that great.
More information about the Digitalmars-d
mailing list