Syntax vs Operator vs Function (2026)

By Xah Lee. Date: .
work in progress

syntax vs operator vs function

in programing language design, one of the problem is syntax vs operator vs function.

in most mainstream langs, you cannot tell it's operator or just syntax. For example, in JavaScript, new is an operator. typeof is an operator, not function.

in many functional programing languages, it's unified. all operations are functions, and all functions have operator syntax forms.

fuck, the c cpp clowns. this is one pervasive damage by their influence. the c cpp coders, they typically dunno what you are talking about, at all.

js spec 2026 dot bracket 2026-09-28 2f343 ll
js spec 2026 dot bracket 2026-09-28 2f343 ll
python 3.14 operator 2026-09-28 318c4 ll
python 3.14 operator 2026-09-28 318c4 ll