Learning to code becomes much easier when the vocabulary stops feeling mysterious. Here are 25 terms you will meet in tutorials, documentation, error messages, and real projects.
The building blocks
1. Variable
A named reference to a value that may change.
let score = 0;
score = score + 1;
2. Constant
A named value that should not be reassigned.
const courseName = "JavaScript Basics";
3. Boolean
A value that is either true or false. Booleans help programs make decisions.
4. Array
An ordered collection of values, such as a list of lessons or scores.
5. Object
A value that groups related data and behavior.
const learner = {
name: "Asha",
completedLessons: 3,
isPro: false
};
Reusable logic
6. Function
A reusable block of code that performs a task.
7. Parameter
A named input declared by a function.
8. Argument
The actual value supplied when the function is called.
function greet(name) { // name is a parameter
return `Hello, ${name}!`;
}
console.log(greet("Asha")); // "Asha" is an argument
9. Scope
The region of a program where a variable or function is accessible.
10. Runtime
The environment in which a program executes. A browser provides a JavaScript runtime; Node.js provides another.
Controlling a program
11. Conditional
Logic that chooses what to do based on a condition.
if (score >= 5) {
console.log("Level complete");
} else {
console.log("Keep practicing");
}
12. Loop
A structure that repeats instructions.
13. Algorithm
A step-by-step method for solving a problem. Sorting names alphabetically is a simple example.
14. Bug
A defect that makes software behave incorrectly.
15. Debugging
The process of finding, understanding, and correcting bugs. Good debugging starts by reproducing the problem consistently.
Organizing larger programs
16. Class
A reusable blueprint for creating objects. Classes are one approach to organizing related data and behavior.
17. Database
An organized system for storing and retrieving data. Applications use databases for users, products, messages, and much more.
18. API
A defined way for software systems to communicate. A weather application might call an API to request today's forecast.
19. HTTP
The protocol browsers and servers commonly use to exchange web data. Requests use methods such as GET, POST, PUT, and DELETE.
20. Repository
A version-controlled home for project files and their history.
Tools and execution
21. Source code
Human-readable instructions written in a programming language.
22. Compiler
Software that translates source code before execution.
23. Interpreter
Software that executes source code directly, usually one instruction or unit at a time.
24. IDE
An application that combines tools for writing, navigating, running, and debugging code. Visual Studio Code is a popular example.
25. Version control
A system for tracking and coordinating changes to files. Git lets you compare revisions, create branches, and collaborate safely.
Put the vocabulary into practice
Try this small JavaScript example:
const scores = [3, 7, 5, 9];
function passed(score) {
return score >= 5;
}
const results = scores.map(score => ({
score,
passed: passed(score)
}));
console.log(results);
This short program uses constants, an array, a function, a parameter, arguments, booleans, objects, and an algorithm. Recognizing the terms makes the code easier to discuss and improve.
I created an open, reusable version of this glossary on GitHub. It includes structured JSON data and is licensed under CC BY 4.0.
For a searchable reference with hundreds of terms, categories, and beginner-friendly explanations, visit the Codekilla Programming Terminology Reference. You can also experiment with code in the Codekilla browser compiler.
Which programming term confused you most when you started?
Top comments (0)