Computer Programming Operator
A Computer Programming Operator is a Computer Program that can transform and compare datasets.
- AKA: Operator.
- Context:
- It can range from being a Built-in Operator to being a User-defined Operator.
- …
- Example(s):
- an Arithmetic Operator such as:
- Addition Operator (
+
). Python:operator.add(x, y)
which is equivalent tox+y
(e.g. addition between two number1+2
, or concatenation of strings"hello" + " " + "world"
- Subtraction Operator,
- Mutiplication Operator,
- Division Operator,
- Addition Operator (
- a Relational Operator,
- a Logical Operator,
- a Bitwise Operator,
- a Compound Assignment Operator,
- a Pointer Operator,
- a Member Operator,
- a Scope Resolution Operator.
- …
- an Arithmetic Operator such as:
- Counter-Examples
- See: Scope Resolution Operator, Programming Languages, Syntax (Programming Languages), Semantics_(Computer Science), Assignment (Computer Science), Field (Computer Science).
References
2019
- (Wikipedia, 2019) ⇒ https://en.wikipedia.org/wiki/Operator_(computer_programming) Retrieved:2019-4-25.
- Programming languages typically support a set of operators: constructs which behave generally like functions, but which differ syntactically or semantically from usual functions. Common simple examples include arithmetic (addition with
+
), comparison (with>
), and logical operations (such asAND
or&&
). More involved examples include assignment (usually=
or:=
), field access in a record or object (usually.
), and the scope resolution operator (often::
). Languages usually define a set of built-in operators, and in some cases allow user-defined operators.
- Programming languages typically support a set of operators: constructs which behave generally like functions, but which differ syntactically or semantically from usual functions. Common simple examples include arithmetic (addition with