Programming MisconceptionsHomeMisconceptionsConceptsLanguagesTextbooksContributorsAbout
HomeConcepts
Operator

Operator

An operator is a symbol or keyword in source code that represents a built-in function.

Related concepts:  Function

Closest Wikipedia entry:  Operator (computer programming)

Misconceptions about Operator
30 documented Misconceptions

Any LanguageJavaJavaScriptPythonScratch
Check Yourself
Misconception
AssignCompares
= compares two values
Misconception
CannotChainAttributeAccesses
Attribute accesses cannot be chained together
Misconception
CannotChainAttributeToObjectInstantiation
Method calls, and attribute accesses in general, cannot be chained to a constructor invocation.
Misconception
ComparisonWithBoolLiteral
To test whether an expression is True or False, one must compare it to True or to False
Misconception
MapToBooleanWithTernaryOperator
To map a boolean expression to a bool, a ternary conditional operator is necessary
Misconception
NoAtomicExpression
Expressions must consist of more than one piece
Misconception
NoShortCircuit
and/or always evaluate both operands
Misconception
NoSingleLogicAnd
& is only a bitwise AND
Misconception
PlusConcatenatesNumbers
The plus operator can concatenate strings and numbers

Find Misconceptions by...

Concept
Programming Language
Notional Machine
Textbook

About

About This Site
Structure and Content of the Inventory
Contributors