Evaluation order of index expressions
ketmar via Digitalmars-d
digitalmars-d at puremagic.com
Tue May 26 10:07:42 PDT 2015
On Tue, 26 May 2015 18:16:57 +0200, Timon Gehr wrote:
> Sure, but there is no incentive to do this. a[i=j+1]=3; makes the code
> shorter.
and harder to read. it is considered bad practice anyway, and will hardly
pass any serious code review.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150526/e3b9ab36/attachment.sig>
More information about the Digitalmars-d
mailing list