Assignment
To assign means to store a value in a variable.
Related concepts: ValueVariable
Closest Wikipedia entry: Assignment (computer science)
Misconceptions about Assignment17 documented Misconceptions
Check YourselfAssignCompares — Java
= compares two values
AssignmentCopiesObject — Java
Assignment copies the object
AssignmentNotExpression — Java
An assignment a=b is not an expression
ExpressionAssigns — Java
An expression that reads a variable also updates its value after the evaluation
LocalVariablesAutoInitialized — Java
Local variables are automatically initialized
MustInitializeFieldInConstructor — Java
Constructors must assign values to all fields
ThisAssignable — Java
One can assign to this
VariablesHoldExpressions — Java
= stores an expression in a variable
AssignmentCopiesObject — JavaScript
Assignment copies the object
ConstDeclarationCanBeLeftUninitialized — JavaScript
Declarations of constants do not need to be immediately initialized
MandatoryAssignment — JavaScript
An expression must be assigned to have a valid statement
ThisAssignable — JavaScript
One can assign to this
AssignCompares — Python
= compares two values
AssignmentCopiesObject — Python
Assignment copies the object
SelfAssignable — Python
Reassigning self changes the object on which a method is called
VariablesHoldExpressions — Python
= stores an expression: it stores a reference to the expression in a variable
ExpressionAssigns — Scratch
An expression that reads a variable also updates its value after the evaluation