Glossary

AI Coding & Programming Glossary

TL;DR

138 terms explained in plain English, for people learning to code and developers working with AI. It covers AI-assisted coding (from vibecoding to context windows and MCP), the learning science behind how skills stick, programming fundamentals, interview vocabulary, and the ideas behind Contral. Every term has its own link you can share or cite.

Contral concepts

The ideas and features behind Contral, the AI coding assistant that teaches while you build.

Agent modes (Fast, Plan, Deep, Recursive)#

Contral's Build agent has four modes. Fast answers and edits in a single pass; Plan shows a read-only plan you approve before anything changes; Deep uses a reasoning model for hard problems; Recursive drafts, critiques and revises its own output.

Auto-teach#

Auto-teach is Contral explaining code written by other AI agents. When a tool such as Cursor, GitHub Copilot, Claude Code or Codex CLI edits a file in your workspace, Contral detects the change and shows a teaching card for it, so you can keep using the agent you like.

Boss challenge#

A boss challenge is the final challenge at the end of each Learn mode topic in Contral. It pulls together what the topic taught into one harder task, and beating it earns extra hint credits.

Build mode#

Build mode is Contral's AI coding agent. You describe what you want, and it reads your project, proposes edits you review before they land, runs commands with your permission, and explains every change with a teaching card.

Checkpoint (Learn mode)#

In Contral's Learn mode, a checkpoint is where you get AI feedback on your work at the end of a lesson project (type /checkpoint). It confirms you understand the material before you move on.

Codebase tour#

A codebase tour is a guided walkthrough of an unfamiliar repository. Contral's "Learn this codebase" scans a project and produces a tour of its important parts, with citations to the actual files, plus a learning path tailored to that code.

Contral IDE#

Contral IDE is Contral's desktop code editor, built on the open-source Eclipse Theia platform with Contral built in. It's available for macOS (Apple Silicon), Windows and Linux; the Contral extension brings the same features to VS Code, Cursor and other VS Code-based editors.

Deep dive#

A deep dive is a longer, more thorough explanation you open with the Deep dive button on a Contral teaching card. Deep dives are available on Pro and higher plans and all AppSumo tiers.

Defense mode#

Defense mode is Contral's approach to proving you understand code instead of just accepting it. After an AI change, Contral asks you to explain the code back in your own words and answer two quick questions about it, then shows what you got right and what you missed, so you can defend what you ship.

Explain selection#

Explain selection is a Contral command: right-click any code and choose "Contral: Explain selection" to get a line-by-line explanation, then ask follow-up questions about the part you don't understand.

Learn mode#

Learn mode is Contral's structured curriculum inside your editor, with courses in Java, plus Python, JavaScript, TypeScript and Go in beta; each topic moves from theory to reading example code, writing and debugging code, explaining it back, and a final boss challenge.

Mega Exam#

A Mega Exam is the exam at the end of each category of Contral's Java curriculum (Basics, Intermediate, Advanced and Data Structures). It covers all of the topics in that category.

Teaching card#

A teaching card is the explanation Contral shows next to a code change. It covers what the change does and why it was written that way, and can include a line-by-line walkthrough, key concepts, and a quick quiz or question to check your understanding.

Teaching IDE#

A teaching IDE is a code editor that explains the code as it is written, so you learn while you build instead of afterward. Contral is a teaching IDE: its AI agent writes code and explains each function, pattern and decision as it goes.

Teaching layer#

A teaching layer sits on top of an AI coding agent and explains every change it makes: what the code does, why it was written that way and what the alternatives are. It turns passive code generation into active learning.

AI-assisted coding

How AI coding tools, language models and agents work, and the risks that come with them.

Agent skill#

An agent skill is a reusable set of instructions, typically a folder with a SKILL.md file, that teaches an AI coding agent a specific workflow, such as a code-review checklist or a debugging routine. Running the skill adds those instructions to the agent's prompt for that task.

Agentic coding#

Agentic coding is a style of AI-assisted development where you give an AI agent a goal and it plans and carries out multi-step work itself: reading files, editing code, running commands and tests, and iterating on the results. Your job shifts from typing every line to directing and reviewing.

AI autocomplete vs. AI agent#

AI autocomplete suggests the next few lines as you type, and you accept or ignore each suggestion. An AI agent takes a whole task, edits several files and runs commands on its own. Agents do more per request, but make it easier to ship code you haven't read.

AI coding agent#

An AI coding agent is a tool that reads a codebase, writes and edits code, and runs commands on your behalf, with some autonomy (for example Cursor, GitHub Copilot, Windsurf or Claude Code). Contral pairs an agent with a teaching layer so you learn from it rather than just consuming its output.

AI pair programming#

AI pair programming is working with an AI assistant the way you would with a human partner: you talk through the problem, it suggests code, and you review, question and steer. It works best when you stay the one who understands the design.

Bring your own key (BYOK)#

BYOK means using your own API key from a model provider, such as OpenAI, Anthropic or Google, inside a tool. In Contral you choose the model, and the provider bills you directly for the tokens you use.

Code review bot#

A code review bot is an automated tool, often AI-powered, that comments on pull requests to flag likely bugs, security issues, style problems or missing tests. It speeds up review but doesn't replace a person who understands the change.

Code-comprehension gap#

The code-comprehension gap is the difference between the code a developer ships with AI assistance and the code they actually understand. Research has found AI-assisted developers score measurably lower on code-comprehension tests; it's the gap Contral is built to close.

Context engineering#

Context engineering is deciding what information an AI model sees for a task: which files, docs, examples, tool results and instructions go into its limited context window. For coding agents, the right context often matters more than clever prompt wording.

Context window#

The context window is the most text, measured in tokens, that a model can consider at once, including your prompt, any files supplied, the conversation so far and its own reply. Anything outside the window is invisible to the model, which is why coding tools must choose which files to include.

Embeddings#

An embedding is a list of numbers that represents the meaning of a piece of text or code, so similar content ends up close together. Embeddings power semantic search, which is how many RAG systems find relevant code.

Fine-tuning#

Fine-tuning is further training an existing model on a smaller, specialised dataset so it gets better at a particular task, style or domain. It changes the model's weights, unlike prompting or RAG, which only change its input.

Hallucination#

A hallucination is a confident answer from an AI model that is false or made up. In code, it often shows up as a call to a function, API option or package that doesn't exist, which is why AI-generated code needs to be read and tested.

Human-in-the-loop#

Human-in-the-loop means an AI system pauses for a person to review or approve important steps, such as applying a code edit or running a command, instead of acting entirely on its own. Contral's Build agent, for example, never writes to your files silently: each edit comes to you for review.

Knowledge cutoff#

A model's knowledge cutoff is the date its training data ends. It won't know about newer library versions, APIs or events unless a tool such as web search supplies them, a common source of outdated code suggestions.

Large language model (LLM)#

A large language model is an AI model trained on huge amounts of text to predict the next token in a sequence. At scale, that simple objective lets it write prose and code, answer questions and follow instructions. GPT, Claude and Gemini are families of LLMs.

Model Context Protocol (MCP)#

MCP is an open standard, introduced by Anthropic in 2024, for connecting AI applications to external tools and data through "MCP servers". A server written once, for example for GitHub or a database, can be used by any MCP-compatible client.

Model evaluation (evals)#

Model evaluation is measuring how well an AI model performs on a defined set of tasks. Coding evals usually check whether generated code passes tests; SWE-bench, for example, uses real issues from open-source GitHub projects. Teams also build private evals for their own use cases.

Prompt#

A prompt is the input you give an AI model: the instructions, question, code or examples it should respond to. In a coding tool, your prompt is combined with other context, such as open files, before it reaches the model.

Prompt engineering#

Prompt engineering is writing prompts that get reliable results: stating the goal clearly, giving context and examples, spelling out constraints, and asking for a specific output format.

Prompt injection#

Prompt injection is an attack where text a model reads, such as a web page, code comment, issue or document, contains instructions that try to override what the user or developer asked for. For coding agents that can run commands, it can lead to leaked secrets or harmful actions, so untrusted input needs care.

Reasoning model#

A reasoning model is an LLM trained to work through a problem step by step, spending extra "thinking" tokens before it gives a final answer. It's slower and costs more per request, but tends to do better on hard debugging and multi-step coding tasks.

Retrieval-augmented generation (RAG)#

RAG is a technique where relevant documents are looked up first and added to the model's prompt, so it answers from that material instead of from memory alone. Coding tools use it to pull the right files or docs into context.

Slopsquatting#

Slopsquatting is a supply-chain attack in which someone publishes a malicious package under a name that AI models tend to hallucinate. A developer who installs whatever the AI suggested, without checking it exists and is trustworthy, pulls in the attacker's code.

System prompt#

A system prompt is a set of instructions given to a model before the user's messages, usually by the app developer. It sets the assistant's role, rules and tone, and is typically hidden from the end user.

Temperature#

Temperature is a setting that controls how random a model's output is. Low values make it pick the most likely tokens, giving more predictable answers; higher values make output more varied, but also more likely to go wrong.

Tokens#

Tokens are the small chunks of text a language model reads and writes: whole words, pieces of words, punctuation or spaces. Model limits and API prices are measured in tokens; in English, one token averages roughly three-quarters of a word.

Tool use (function calling)#

Tool use is when a language model asks to run an external tool, such as reading a file, running a terminal command or searching the web, and then uses the result in its answer. It's what turns a chatbot into an agent.

Vibecoding#

Vibecoding is using AI tools to generate code by describing what you want in natural language, without fully understanding the code that gets produced. It makes shipping fast but leaves developers unable to explain, debug or defend their own codebase.

Learning science

Research-backed ideas about how people actually learn, applied to learning to code.

Active recall#

Active recall is studying by pulling information out of your memory, for example answering a question or writing code from a blank file, instead of re-reading notes. The effort of retrieving is what strengthens the memory.

Bloom's taxonomy#

Bloom's taxonomy orders learning goals from simpler to more complex: remember, understand, apply, analyze, evaluate and create (in its 2001 revised form). In programming, recognising syntax sits near the bottom, while debugging, reviewing and designing code sit near the top.

Cognitive load#

Cognitive load is the amount of mental effort your working memory is handling at once. Working memory is small, so beginners learn best when unnecessary complexity (extra tools, jargon, setup) is stripped away and their effort goes into the concept itself.

Deliberate practice#

Deliberate practice is focused, effortful practice on specific weaknesses, with clear goals and immediate feedback, just beyond your current ability. The concept comes from psychologist K. Anders Ericsson's research on expert performance.

Desirable difficulty#

A desirable difficulty is a challenge that makes learning feel slower in the moment but improves long-term retention, such as self-testing, spacing and interleaving. The term comes from psychologist Robert Bjork.

Feynman technique#

The Feynman technique checks your understanding by explaining a concept in plain language, as if teaching a beginner. Wherever you get stuck or fall back on jargon marks a gap to go back and study. It's named after physicist Richard Feynman.

Illusion of competence#

The illusion of competence is feeling you've learned something because it looks familiar or makes sense as you read it, even though you couldn't produce it yourself. Following tutorials and skimming AI-generated code both create it; testing yourself exposes it.

Interleaving#

Interleaving is mixing different kinds of problems in one practice session, such as loops, recursion and string problems, instead of drilling one kind at a time. It feels harder, but it trains you to recognise which approach a problem needs.

Mastery learning#

Mastery learning is an approach where you must show you've mastered a topic, usually by passing a check, before moving on to the next one. Progress depends on demonstrated understanding rather than time spent.

Metacognition#

Metacognition is thinking about your own thinking: knowing what you understand, noticing when you're confused and choosing how to study. It's what lets you tell the difference between "this looks familiar" and "I could write this myself".

Project-based learning#

Project-based learning is learning by building a real project and picking up concepts as the project needs them. It keeps motivation high, and works best with structure and feedback so gaps in understanding don't go unnoticed.

Retrieval practice#

Retrieval practice is the study strategy built on active recall: regularly testing yourself with low-stakes quizzes, flashcards or blank-page exercises. Research consistently finds it produces longer-lasting learning than re-studying the same material.

Rubber duck debugging#

Rubber duck debugging is explaining your code line by line, out loud, to someone or something, traditionally a rubber duck. Saying what each line should do often reveals the bug. The name comes from the book The Pragmatic Programmer.

Scaffolding#

Scaffolding is temporary support that helps a learner do something they can't yet do alone, such as hints, partly written code or step-by-step guidance, removed gradually as their skill grows.

Socratic questioning#

Socratic questioning is teaching by asking guiding questions instead of handing over answers, so the learner reasons their way to the solution. A good tutor, human or AI, asks "what do you expect this line to return?" before explaining it.

Spaced repetition#

Spaced repetition is reviewing material at growing intervals (say after a day, then three days, then a week) instead of cramming it in one session. You remember more for the same total study time, and flashcard apps like Anki schedule the reviews for you.

Testing effect#

The testing effect is the finding that being tested on material improves long-term memory of it more than spending the same time re-studying. Tests are a learning tool, not just a way to measure.

Tutorial hell#

Tutorial hell is the cycle of finishing tutorial after tutorial but being unable to build anything without one. Following along feels productive, but the hard parts, deciding what to write and debugging it, are done for you.

Worked example#

A worked example is a fully solved problem shown step by step for a learner to study. For beginners, studying worked examples before solving similar problems reduces cognitive load; the benefit fades as they gain expertise.

Zone of proximal development#

The zone of proximal development is the range of tasks a learner can't yet do alone but can do with guidance. The idea comes from psychologist Lev Vygotsky: learning is most productive there, where work is neither too easy nor out of reach.

Programming fundamentals

Core concepts every beginner meets, from variables and loops to Git, testing and APIs.

Algorithm#

An algorithm is a precise, step-by-step procedure for solving a problem, such as sorting a list or finding the shortest route between two points. Code is one way of writing an algorithm down.

API#

An API (application programming interface) is a defined way for one piece of software to request data or actions from another. A weather service's API, for example, lets your app ask for a forecast without knowing how the service works inside.

Array#

An array is an ordered collection of items stored by position (index), usually starting at 0. Reading an item by index is fast, but inserting or removing in the middle means shifting everything after it.

Example

nums = [10, 20, 30]
nums[0]   # 10
len(nums) # 3
Async/await#

Async/await is syntax for writing asynchronous code, such as network requests, that reads like ordinary step-by-step code. await pauses the async function until the result (a promise, in JavaScript) is ready, without freezing the rest of the program.

Example

async function loadUser() {
  const res = await fetch("/api/user");
  return await res.json();
}
Big-O notation#

Big-O notation describes how an algorithm's running time or memory grows as its input gets bigger, ignoring constant factors. Looping over a list once is O(n); a loop inside a loop over the same list is usually O(n²); a hash-map lookup is O(1) on average.

Branch (Git)#

A branch is an independent line of development in Git. You create one to work on a feature or fix without touching the main code, then merge it back when it's ready.

Example

git switch -c fix-login-bug
Breakpoint#

A breakpoint is a marker you set on a line of code so a debugger pauses the program there, letting you inspect variables and step through the code one line at a time.

Related: Debugging, IDE

CI/CD#

CI/CD stands for continuous integration and continuous delivery (or deployment). CI automatically builds and tests every change pushed to a shared repository; CD automatically gets tested changes ready to release, or ships them. GitHub Actions is a common CI/CD tool.

Class and object#

A class is a blueprint that defines the data and methods a kind of thing has; an object (or instance) is one concrete thing built from that blueprint.

Example

class Dog {
    String name;
    void bark() { System.out.println(name + " says woof"); }
}

Dog rex = new Dog();
Closure#

A closure is a function that remembers the variables from the scope where it was created, even after that outer function has finished running. Closures are common in JavaScript for callbacks and private state.

Example

function counter() {
  let n = 0;
  return () => ++n;
}
const next = counter();
next(); // 1
next(); // 2
Command line (terminal)#

The command line is a text interface for controlling a computer by typing commands, for example to run programs, manage files or use Git. The terminal is the app that displays it, and the shell (such as bash, zsh or PowerShell) interprets what you type.

Example

cd my-project
ls
npm run dev
Commit#

A commit is a saved snapshot of changes in Git, with a message describing what changed and why. Small, focused commits with clear messages make a project's history easy to follow and to undo.

Example

git commit -m "Fix off-by-one error in pagination"

Related: Git, Branch (Git)

Compiler vs. interpreter#

A compiler translates a whole program into a lower-level form, such as machine code or bytecode, before it runs; an interpreter executes code more or less directly as it reads it. Many languages mix both: Java compiles to bytecode, which the Java virtual machine then runs.

Related: Syntax error

Conditional (if statement)#

A conditional runs different code depending on whether a condition is true or false.

Example

if (age >= 18) {
  console.log("adult");
} else {
  console.log("minor");
}

Related: Loop, Edge case

Data structure#

A data structure is a way of organizing data in memory so that certain operations are efficient. Picking the right one, such as an array, hash map or tree, often matters more than clever code.

Data type#

A data type tells the computer what kind of value something is, such as a whole number, text (a string), true/false (a boolean) or a list, and so what you can do with it.

Example

int age = 30;
String name = "Ada";
boolean done = false;
Debugging#

Debugging is finding and fixing the cause of a bug: reproducing it, forming a hypothesis, checking it with logs, a debugger or tests, and confirming the fix. It's one of the most important programming skills, and one that vibecoding tends to skip.

Dependency#

A dependency is outside code, usually a library or package, that your project relies on. Each one saves you work but adds risk: it can have bugs, security holes or breaking updates.

Edge case#

An edge case is an input or situation at the extremes of what code must handle, such as an empty list, zero, a negative number, a huge value or missing data. Many bugs, and many interview follow-up questions, live in edge cases.

Encapsulation#

Encapsulation is keeping an object's internal data private and exposing only the methods other code should use. It lets you change the internals later without breaking the code that depends on them.

Environment variable#

An environment variable is a named value set outside your code, by the operating system or hosting platform, that a program reads while running. They're used for configuration and secrets like API keys, which should never be committed to Git.

Example

const apiKey = process.env.API_KEY;
Exception#

An exception is an error raised while a program runs. It interrupts normal flow until some code catches and handles it (with try/catch or try/except); an uncaught exception usually stops the program with a stack trace.

Example

try:
    value = int("abc")
except ValueError:
    print("Not a number")
Function#

A function is a named, reusable block of code that does one job. It can take inputs (parameters) and hand back a result (a return value).

Example

def add(a, b):
    return a + b

add(2, 3)  # 5
Git#

Git is a free, distributed version control system created by Linus Torvalds in 2005. Every copy of a Git repository holds the project's full history, and changes are recorded as commits on branches.

Example

git status
git add .
git commit -m "Add login form"
git push
Graph (data structure)#

A graph is a set of nodes connected by edges, which can be one-way or two-way and can carry weights such as distances. Graphs model networks like road maps, social connections and package dependencies.

Hash map (hash table)#

A hash map stores key–value pairs and uses a hash function to jump almost straight to a key's location, so lookups, inserts and deletes are O(1) on average. Python's dict, JavaScript's Map and Java's HashMap are hash maps.

Example

ages = {"ada": 36}
ages["ada"]  # 36
HTTP status code#

An HTTP status code is the three-digit number a server returns to describe how a request went: 2xx means success (200 OK), 3xx a redirect, 4xx a problem with the request (404 Not Found) and 5xx a server error (500 Internal Server Error).

Related: REST API, API

IDE#

An IDE (integrated development environment) is an application that combines a code editor with tools such as a debugger, terminal, version control and code completion. IntelliJ IDEA, Eclipse and Contral IDE are IDEs; VS Code becomes one with extensions.

Immutability#

Immutability means a value can't be changed after it's created; to "modify" it you create a new value instead. Immutable data is easier to reason about and safe to share between threads.

Example

s = "hi"
t = s.upper()  # returns a new string "HI"; s is still "hi"
Inheritance#

Inheritance lets one class reuse and extend another class's fields and methods: a Dog class can inherit from Animal and add its own behavior. Deep inheritance chains get rigid, so many developers prefer composing smaller objects.

Integration test#

An integration test checks that several parts work correctly together, such as your code with a real database or an external API. It catches problems unit tests miss, but is slower and harder to debug when it fails.

Related: Unit test, CI/CD

Interface#

An interface lists methods a type promises to provide, without saying how they work. Code written against an interface works with any class that implements it.

Example

interface Shape {
    double area();
}

class Circle implements Shape { /* ... */ }
JSON#

JSON (JavaScript Object Notation) is a lightweight text format for structured data, built from objects (key–value pairs in curly braces) and arrays (lists in square brackets). Most web APIs send and receive JSON.

Example

{
  "name": "Ada",
  "languages": ["Java", "Python"]
}

Related: API, REST API

Library vs. framework#

A library is code you call when you need it, like a date-formatting library; a framework calls your code, providing the overall structure your app plugs into, like Next.js, Spring or Django. The shorthand: you call a library, a framework calls you.

Related: Dependency, API

Linked list#

A linked list stores items in nodes, where each node holds a value and a pointer to the next node. Adding or removing at a known node is cheap, but reaching the nth item means walking the list from the start.

Linting#

Linting is running a tool (a linter) that scans source code without executing it to flag likely bugs, risky patterns and style problems, such as unused variables. ESLint for JavaScript and Ruff for Python are popular linters.

Loop#

A loop repeats a block of code, either a set number of times (a for loop) or for as long as a condition stays true (a while loop).

Example

for (let i = 0; i < 3; i++) {
  console.log(i); // 0, 1, 2
}
Memory leak#

A memory leak is when a program keeps holding memory it no longer needs, so its memory use grows until it slows down or crashes. Common causes are forgotten event listeners, ever-growing caches and references that are never released.

Related: Debugging, Closure

Merge conflict#

A merge conflict happens when Git can't combine two branches automatically because both changed the same lines in different ways. You resolve it by editing the file to keep the right version, then committing the result.

Related: Branch (Git), Git

Null pointer exception#

A null pointer exception is a runtime error raised when code tries to use a reference that points to nothing (null), for example by calling a method on it. Java calls it NullPointerException; in JavaScript the equivalent is a TypeError such as "Cannot read properties of null".

Example

String name = null;
name.length(); // throws NullPointerException
Object-oriented programming (OOP)#

OOP is a style of programming that organizes code into objects that bundle data (fields) with the behavior that works on it (methods). Its core ideas are encapsulation, inheritance and polymorphism; Java, C# and Python all support it.

Off-by-one error#

An off-by-one error is a bug where a loop or index goes one step too far or stops one step short, often from mixing up < and <=, or forgetting that arrays start at index 0.

Example

// Bug: reads one element past the end of the array
for (let i = 0; i <= items.length; i++) { /* ... */ }

Related: Loop, Array, Edge case

Package manager#

A package manager installs, updates and keeps track of the libraries your project depends on, along with their versions. Examples include npm and pnpm for JavaScript, pip for Python, and Maven or Gradle for Java.

Example

npm install express
pip install requests
Parameter vs. argument#

A parameter is the variable named in a function's definition; an argument is the actual value you pass in when you call the function.

Example

def greet(name):   # name is the parameter
    print("Hi " + name)

greet("Ada")       # "Ada" is the argument

Related: Function

Polymorphism#

Polymorphism means the same code can work with different types through a shared interface, each type supplying its own behavior. Calling shape.area() works whether the shape is a circle or a square.

Pull request (PR)#

A pull request asks to merge changes from one branch into another, usually on GitHub (GitLab calls it a merge request). It's where teammates review the code, discuss it and run automated checks before it's merged.

Queue#

A queue is a collection where the first item added is the first one removed (first in, first out), like a line at a shop. Queues are used for task scheduling, breadth-first search and message processing.

Race condition#

A race condition is a bug where the result depends on the unpredictable timing of two or more operations running at once, such as two requests updating the same counter. It may only appear occasionally, which makes it hard to reproduce.

Recursion#

Recursion is when a function solves a problem by calling itself on a smaller version of the same problem, until it reaches a simple base case. Without a base case it never stops and eventually crashes with a stack overflow.

Example

def factorial(n):
    if n <= 1:          # base case
        return 1
    return n * factorial(n - 1)
Refactoring#

Refactoring is restructuring existing code to make it clearer or easier to change without changing what it does, for example renaming things, extracting a function or removing duplication. Good tests make it safe.

REST API#

REST is a common style for web APIs in which data is treated as resources at URLs, like /users/42, and handled with standard HTTP methods: GET to read, POST to create, PUT or PATCH to update and DELETE to remove.

Example

GET /users/42      → returns user 42
DELETE /users/42   → deletes user 42
Scope#

Scope is the part of a program where a variable can be seen and used. A variable declared inside a function is usually only visible inside that function.

Side effect#

A side effect is anything a function does besides returning a value, such as changing a global variable, writing a file or making a network request. Functions without side effects (pure functions) are easier to test and reason about.

Stack (data structure)#

A stack is a collection where the last item added is the first one removed (last in, first out), like a pile of plates. Function calls, undo history and bracket matching all use stacks.

Stack trace#

A stack trace is the list of function calls that were in progress when an error happened. Reading it tells you where the error occurred and how the program got there; note that Java lists the most recent call first, while Python lists it last.

Syntax error#

A syntax error is code that breaks the language's grammar rules, like a missing bracket or colon, so it can't be parsed and won't run at all. Unlike a logic error, it's caught before the code runs.

Example

if x > 5    # SyntaxError: missing colon
    print(x)
Technical debt#

Technical debt is the future cost of shortcuts taken today, such as quick fixes, missing tests or unclear code. Like financial debt it charges interest: every later change gets slower until the debt is paid down. Shipping AI-generated code nobody understands is a fast way to build it up.

Test-driven development (TDD)#

TDD is writing a failing test first, then writing just enough code to make it pass, then cleaning up: the "red, green, refactor" cycle. It makes you decide what the code should do before you write it.

Tree (data structure)#

A tree is a hierarchy of nodes, with one root at the top and child nodes branching below it. File systems, a web page's DOM and binary search trees are all trees.

Unit test#

A unit test checks one small piece of code, usually a single function, in isolation: it gives the code an input and asserts the expected output. Unit tests are fast and pinpoint exactly what broke.

Example

def test_add():
    assert add(2, 3) == 5
Variable#

A variable is a named place to store a value so your program can use it, and often change it, later.

Example

let score = 0;
score = score + 10; // score is now 10
Version control#

Version control is a system that records every change to a project's files over time, so you can see who changed what, go back to earlier versions and work in parallel with others. Git is by far the most widely used.

Career & interviews

Terms you'll hear while job hunting, interviewing and starting out as a developer.

Behavioral interview#

A behavioral interview asks about past experiences ("tell me about a time you disagreed with a teammate") to see how you work with others, handle setbacks and make decisions. Answers are often structured with the STAR method.

Code review#

Code review is when other developers read a change before it's merged, checking for bugs, readability, design and tests. It's also how teams share knowledge, and explaining your own code under review is a core part of the job.

Junior developer#

A junior developer is an early-career software engineer who works on well-scoped tasks with guidance from more experienced teammates. The role is about learning fast, and that means understanding the code you ship, not just producing it.

LeetCode-style interview#

A LeetCode-style interview is a technical interview built around algorithm and data-structure problems, solved live while you explain your thinking; it's named after the popular practice site. Interviewers judge problem-solving, communication and complexity analysis, not just the final code.

Open-source contribution#

An open-source contribution is a change you submit to a publicly developed project, such as a bug fix, feature, test or docs improvement, usually through a pull request. It's real experience reading unfamiliar code and going through code review.

Pair programming#

Pair programming is two developers working on the same code together: one (the driver) types while the other (the navigator) reviews and thinks ahead, switching roles often. Some companies run pair-programming interviews to see how candidates collaborate.

Portfolio project#

A portfolio project is something you build and publish, on GitHub or a personal site, to show employers what you can do. The strongest ones solve a real problem and are ones you can explain in depth, including the trade-offs you made.

STAR method#

STAR is a way to structure answers to behavioral interview questions: Situation (the context), Task (your responsibility), Action (what you did) and Result (the outcome, ideally measurable).

System design interview#

A system design interview asks you to design a large system, such as a URL shortener or a chat app, and talk through requirements, components, data storage, scaling and trade-offs. There's no single right answer, and it's most common for mid-level and senior roles.

Take-home assignment#

A take-home assignment is a small project a company asks you to build on your own time, often followed by a call where you walk through and defend your choices. With AI tools everywhere, being able to explain your own submission matters more than ever.

Technical screen#

A technical screen is an early, shorter interview round, often a video call with a shared code editor, that decides whether a candidate moves on to the full set of interviews.

A–Z index

Link to a definition

Teachers, writers and forum posters are welcome to link to any term. Each one has a permanent anchor: hover a term and click #, or use a URL like contral.ai/glossary#context-window.

See these ideas in action

Contral is the AI coding assistant that teaches you while you build. Try it free.

Get Started Free →