Operator

Noun · Development

Definitions

  1. A symbol or keyword in a programming language that performs an operation on one or more operands — arithmetic (`+`, `*`), comparison (`==`, `<`), logical (`&&`, `||`), bitwise (`&`, `|`), or assignment (`=`). Many languages allow operators to be overloaded to work with user-defined types.

    In plain English: A symbol like +, -, or == that tells the computer to perform a specific action on values.

    Example: "We overloaded the `+` operator on our Vector class so you can add two vectors with natural syntax instead of calling an `.add()` method."

Related Terms