Development Concepts

Syntax

The rules that define how code must be written in a specific programming language — the grammar of code.

Definition

The rules that define how code must be written in a specific programming language — the grammar of code. Each language has its own syntax for variables, functions, loops, and other structures.

Example

In Python, you define a function with def greet(): — in JavaScript, you write function greet() {}. Same concept, different syntax.

See it in context Learn how Syntax fits into the bigger picture of how software actually works.

Read the Guide →