call-by-value
Parameter passed copied
Call-by-value is a way of passing information to a function in programming: the function receives a copy of the data rather than the original.
Changes made inside the function don't affect the original variable.
Most programming languages use call-by-value by default.
Contrast with call-by-reference, where the function can modify the original.
Boundary-setting factor
- argumentReasoned case or dispute
- passingMoving by or temporary
- evaluationDetermining worth or quality
- copyIdentical reproduction made
Of this area
- variableProne to fluctuation
- scopeExtent or range
- encapsulationSurrounding on all sides
- side-effectUnintended secondary outcome
protection · independence · separation · immutability · snapshot · callee · modification · original
Items piled vertically
- allocationDistribution of shares
- frameSupporting outer structure
- storageSpace for keeping goods
- duplicateExact replica of original
space · overhead · performance · primitive · temporary · deallocation
parameter
Boundary-setting factor
- argumentReasoned case or dispute
- passingMoving by or temporary
- evaluationDetermining worth or quality
copy · primitive · expression
local
Of this area
- variableProne to fluctuation
- scopeExtent or range
- encapsulationSurrounding on all sides
side-effect · protection · independence · separation · immutability · snapshot · callee · modification · original · preserved
stack
Items piled vertically
- allocationDistribution of shares
- frameSupporting outer structure
- storageSpace for keeping goods
duplicate · space · overhead · performance · primitive · temporary · deallocation