associativity

(redirected from Associative operation)
Also found in: Dictionary.

associativity

(programming)
The property of an operator that says whether a sequence of three or more expressions combined by the operator will be evaluated from left to right (left associative) or right to left (right associative). For example, in Perl, the lazy and operator && is left associative so in the expression:

$i >= 0 && $x[$i] >= 0 && $y[$x[$i]] == 0

the left-most && is evaluated first, whereas = is right associative, so in

$a = $b = 42

the right-most assignment is performed first.
References in periodicals archive ?
The 'Pearl Project' incorporates training sessions on associative operations and mastering customer relations to develop employee capabilities, simplify work procedures and strengthen community-facing operations.
The 'Associative Operations' sessions will improve DED employees' professional knowledge and equip them with the tools needed to provide more intuitive services, Mr.
New releases of Production Pro and Mastercam Mill Version 5 add associative operations to its arsenal.

Full browser ?