Jump to content

Talk:Augmented assignment

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Perl6

[edit]

I think Perl6 should also be mentioned, because it has meta-operators, and as such every operator can be used this way (unlike having +=, *=, etc explicitly mentioned in the operator table, they have an `op=` operator, that can be used with every operator. — Preceding unsigned comment added by 93.134.114.77 (talk) 2016-01-05T08:27:04‎

On Computed assignment locations

[edit]

Found when creating a simple histogram of die rolls in a proprietary language using:

histogram[roll_die()] += 1

And getting odd results. --Paddy (talk) 10:13, 21 January 2019 (UTC)[reply]