Programming MisconceptionsHomeMisconceptionsConceptsLanguagesTextbooksContributorsAbout
HomeConcepts
Value

Value

A value is data and may be the result of evaluating an expression or the contents of a variable.

Related concepts:  ValueEvaluationVariable

Closest Wikipedia entry:  Value (computer science)

Authoritative Definition

Wikipedia does not necessarily offer the best fitting definition of a concept. The exact meaning we attribute to the concept of Value is based on principled authoritative sources such as:

Types and Programming Languages - Section 3.5

Misconceptions about Value
25 documented Misconceptions

Any LanguageJavaJavaScriptPythonScratch
Check Yourself
Misconception
CallbackParametersInCaller
Parameters of a callback function may be written as parameters of the caller function
Misconception
EqualityOperatorComparesObjectsValues
The equality operator compares two objects' values
Misconception
EqualityOperatorComparesOnlyTypes
The equality operator '==' compares only the types of the operands
Misconception
FunctionAsValueWithParentheses
To use a function as a value, one needs to have parentheses after its name
Misconception
NoReturnValue
Functions without return statements return no value at all
Misconception
NullAndUndefinedAreTheSame
The values null and undefined are the same
Misconception
NullIsObject
null is an object
Misconception
TypeofNullIsNull
The value null is of type 'null'

Find Misconceptions by...

Concept
Programming Language
Notional Machine
Textbook

About

About This Site
Structure and Content of the Inventory
Contributors