Python 3.15: What Changed and How to Learn Python for Real Projects
Python remains a productive language for automation, data, web services and AI. Here is a practical guide to the Python 3.15 release and the foundations learners should master before chasing new syntax.

What is current in the Python release line?
As of November 22, 2026, Python 3.15 is the latest stable feature series. The Python documentation lists Python 3.15.2 as a maintenance release published on October 25, 2026. Python 3.15 introduces a group of changes worth knowing about, including explicit lazy imports, a built-in frozendict type, a sentinel built-in, UTF-8 as the default text encoding, unpacking in comprehensions and a stable ABI direction for free-threaded builds. These features are not a reason to skip fundamentals: they are tools that become valuable after you know what problem you are solving.
Start with the mental model
Python executes statements in an interpreter. Names refer to objects; variables do not behave like typed storage boxes in the same way they do in C. A function receives arguments, creates a local scope and returns a value. Lists and dictionaries are mutable; strings and tuples are immutable. Understanding mutability prevents a large class of bugs, especially when a list is passed into a function and modified unexpectedly.
def summarise_scores(scores: list[float]) -> dict[str, float]:
if not scores:
raise ValueError("At least one score is required")
return {
"count": len(scores),
"average": sum(scores) / len(scores),
"highest": max(scores),
}
print(summarise_scores([72, 85, 91]))
This small example introduces functions, type hints, exceptions, dictionaries and built-ins. Type hints improve readability and can help static analysis tools, but Python does not automatically enforce every annotation at runtime.
Build a learning sequence
- Syntax and data: strings, numbers, booleans, lists, tuples, sets, dictionaries and slicing.
- Control flow: conditions, loops, comprehensions and pattern matching where useful.
- Functions: parameters, return values, scope, modules and packages.
- Files and data: JSON, CSV, pathlib, encoding, date/time and error handling.
- Object-oriented design: classes, composition, protocols and dataclasses; use classes when they simplify the model.
- Quality: virtual environments, dependency pinning, unit tests, logging and version control.
- Specialisation: FastAPI or Django for web, pandas or Polars for data, PyTorch for deep learning, and the relevant provider SDK for AI applications.
What Python 3.15 means for developers
Lazy imports can defer the loading of modules until they are needed, which can help startup time and optional dependencies in suitable programs. A frozen mapping is useful when an immutable mapping is a better expression of intent than a normal dictionary. A sentinel object gives APIs a clear way to distinguish “argument not supplied” from “argument supplied as None”. UTF-8 as the default encoding makes cross-platform text handling more consistent, but explicit encodings in file operations remain good practice when a file format specifies one.
Free-threaded Python work is important for teams exploring parallel workloads. It does not mean every Python program becomes faster simply by installing a different build: extension compatibility, locking, workload shape and deployment support still matter. Profile first, then choose an execution model.
Project idea: a small course registration API
Create a command-line version first. Store courses in a JSON file, validate incoming data, add and remove enrolments, and write tests for duplicate registrations and missing course IDs. Then expose the same operations through FastAPI or Django REST Framework. This progression teaches data modelling and business rules before HTTP becomes another moving part.
Common beginner mistakes
Avoid naming your file after a standard-library module such as email.py or json.py; it can shadow the real module. Do not install packages globally for every project. Do not catch every exception and silently continue. Avoid putting database credentials in source code. Keep functions small enough to test, but do not split every two lines into a new abstraction.
Further reading
- Python 3.15.2 official documentation
- What’s New in Python 3.15
- Python release and documentation versions
C teaches a valuable discipline: the programmer must understand where data lives, how long it remains valid and who is responsible for releasing resources. Those concepts are central to firmware, drivers, operating systems, networking libraries and other low-level software.
Where C stands today
The C23 revision was adopted by ISO/IEC in 2024. Compiler support is not uniform across every implementation and every feature, so teams should check their compiler’s conformance notes rather than assume that a language flag guarantees complete support. The WG14 working group maintains the language’s standardisation material, while compiler projects publish practical implementation tables.
Objects, lifetime and pointers
An object occupies storage and has a type. A pointer stores an address that can refer to an object. Dereferencing a pointer is only valid when the pointer designates a live object of a compatible type and the program obeys the language’s alignment and access rules.
#include <stdio.h>
#include <stdlib.h>
int main(void) {
size_t count = 3;
int *values = malloc(count * sizeof *values);
if (values == NULL) {
fputs("allocation failed\\n", stderr);
return EXIT_FAILURE;
}
values[0] = 10;
values[1] = 20;
values[2] = 30;
printf("total = %d\\n", values[0] + values[1] + values[2]);
free(values);
values = NULL;
return EXIT_SUCCESS;
}
The program checks allocation before using the pointer and releases the allocation once it is no longer needed. In larger programs, every allocation should have a clear owner and a clear cleanup path. When possible, prefer automatic storage for short-lived values and use dynamic allocation only when its lifetime or size requires it.
Array and pointer are related, not identical
In many expressions, an array expression is converted to a pointer to its first element. That convenience does not make an array a pointer. The array object has a fixed size, while a pointer is a separate object that stores an address. When an array is passed to a function, the function usually receives a pointer, so pass the length explicitly.
Undefined behaviour is not a warning you can ignore
Reading an uninitialised automatic variable, writing outside an array, using freed memory, violating strict aliasing rules or overflowing a signed integer can produce undefined behaviour. The compiler is allowed to optimise on the assumption that a well-formed program does not execute undefined behaviour. Use compiler warnings, sanitizers, static analysis and focused tests. Sanitizers are particularly valuable during development because they can detect many out-of-bounds and lifetime mistakes that normal testing misses.
Use modern tooling
- Compile with strict warnings such as
-Wall -Wextra -Wpedantic, then treat meaningful warnings as defects. - Use AddressSanitizer and UndefinedBehaviorSanitizer on supported development builds.
- Separate headers and implementation files; keep interfaces small.
- Use
size_tfor object sizes and array counts where appropriate. - Validate input before indexing arrays or parsing data.
- Document ownership rules for pointers returned by functions.
A practical learning project
Build a serial-data parser or a small sensor logger. Read a bounded input buffer, parse fields, reject malformed records, store the results and write unit tests for boundary cases. For embedded learners, extend the project to a microcontroller simulator or development board and measure memory and timing constraints.
C is not only about writing fewer lines or achieving speed. It is about making resource use and system behaviour explicit. Learn the rules carefully and C becomes a strong foundation for understanding the software stack below higher-level languages.
Further reading
' ], [ 'Modern C++: From RAII and STL to the C++26 Roadmap','modern-cpp23-cpp26-roadmap','Modern C++ is about expressing ownership, value semantics and concurrency safely. This roadmap connects C++23 practice with the ongoing C++26 standardisation work.','programming','blog-3.png','C++,C++23,C++26,Software Engineering', 'C++ is used in game engines, simulation, financial systems, robotics, browsers, infrastructure and embedded applications. Modern C++ is very different from the style many developers remember from older C code: the standard library and language now provide strong tools for resource management, generic programming and expressive error handling.
Understand the standard timeline
C++23 has been published, and work is underway on C++26. Proposals and draft papers are not the same as a published standard, and compiler support for a feature can lag the standard. Teams should check the language mode and implementation support of their actual compilers before adopting a feature in production.
Start with ownership and RAII
Resource Acquisition Is Initialization (RAII) ties a resource’s lifetime to an object’s lifetime. A file handle, lock or dynamic allocation is acquired during construction and released during destruction. This design prevents many leaks and makes early returns easier to reason about.
#include <fstream>
#include <string>
#include <expected>
std::expected<std::string, std::string> read_first_line(const std::string& path) {
std::ifstream file(path);
if (!file) return std::unexpected("Could not open file");
std::string line;
if (!std::getline(file, line)) return std::unexpected("File is empty");
return line;
}
The file stream owns the resource and closes it automatically when it leaves scope. The example uses std::expected from C++23 to represent either a value or an error. A production API should decide whether exceptions, expected-style results or another error model fits its project and use that choice consistently.
Prefer values and standard library types
Use std::vector for a resizable sequence, std::string for text, std::unique_ptr for exclusive dynamic ownership and std::shared_ptr only when shared lifetime is genuinely required. Raw pointers and references are still useful for non-owning access, but they should not hide ownership responsibility.
Learn the core modern features
- Move semantics: transfer a resource instead of copying it when the type supports a safe move.
- Smart pointers: express exclusive or shared ownership in the type system.
- Ranges and algorithms: make transformations and filtering composable.
- Concepts: state the requirements a template needs.
- Coroutines: support resumable execution patterns where the library and application design justify them.
- Concurrency primitives: use mutexes, atomics, futures and task abstractions with a clear data-race strategy.
Make builds reproducible
Use CMake or another established build system, pin dependencies, define the minimum language standard, and build with more than one compiler when portability matters. Add unit tests and sanitizers. A program that compiles on one machine but depends on an accidental include path or compiler extension is not a dependable teaching example.
Project path
Build a small command-line inventory system. Model products with value types, store them in containers, parse CSV input, validate data and persist records. Add tests for errors and concurrency only after the single-threaded design is sound. Then extend the project to a robotics or simulation use case where C++ is common.
Further reading
' ], [ 'SQL and PostgreSQL 19: Design Data, Write Better Queries and Scale Safely','sql-postgresql-19-query-design','Learn relational modelling, joins, indexes and transactions, then review what PostgreSQL 19 adds for operations and application developers.','data-sql','blog-4.png','SQL,PostgreSQL,Database Design,Indexes', 'SQL is a declarative language: you describe the result you need and the database engine chooses an execution strategy. A good SQL developer understands both the data model and the cost of a query. These skills apply across MySQL, MariaDB, PostgreSQL, SQL Server and other relational systems, although each system has its own dialect and features.
Model the data before writing queries
Start with entities and relationships. A student, course and enrolment are separate entities. A student can join many courses and each course can have many students, so the relationship is many-to-many and is represented by an enrolments table. Give each row a stable primary key, represent relationships with foreign keys, and use unique constraints to enforce business rules such as one enrolment per learner per course.
Understand joins
SELECT s.id, s.full_name, c.title, e.enrolled_at
FROM students AS s
JOIN enrolments AS e ON e.student_id = s.id
JOIN courses AS c ON c.id = e.course_id
WHERE e.status = 'active'
ORDER BY e.enrolled_at DESC;An inner join returns rows where the join condition matches. A left join keeps every row from the left table and fills unmatched right-side columns with NULL. A join can multiply rows when a parent has multiple children, so aggregate carefully and know the expected cardinality.
Indexes are workload tools
An index can reduce the amount of data the database needs to examine, but every index consumes space and adds work to inserts, updates and deletes. Start from real filters and joins, inspect query plans, measure representative data and choose indexes based on observed workloads. Composite index column order matters: equality filters, range conditions and ordering requirements influence whether an index is useful.
Transactions preserve consistency
A transaction groups multiple operations into a unit. For a course purchase, creating an order, creating its line items and reserving an enrolment should either all succeed or be rolled back. Use prepared statements, avoid building SQL from untrusted text, keep transactions short and understand the isolation behaviour of the database you deploy.
What PostgreSQL 19 adds
PostgreSQL 19 was announced on November 19, 2026. Its official release notes describe a new REPACK (CONCURRENTLY) command for reorganising table data while allowing normal reads and writes, new plan-advice extensions, performance work including foreign-key checks, and changes to logical replication such as allowing logical replication to be enabled without a server restart when wal_level is set to replica. These are PostgreSQL-specific capabilities; they should not be assumed to exist in MySQL or MariaDB.
A query tuning workflow
- Capture the slow query and its parameters.
- Check how many rows are read and returned.
- Use the database's explain-plan tools on representative data.
- Check indexes, statistics, joins and sorting costs.
- Change one thing at a time and compare before/after timings.
- Retest writes and concurrent workloads, not only the happy-path SELECT.
Practice task
Create a training platform schema with users, courses, lessons, enrolments and payments. Write queries for completion percentages, revenue per course, active learners per instructor and pending payment references. Add foreign keys and unique constraints; then test duplicate data and rollback behaviour.
Further reading
' ], [ 'Agentic AI Explained: Tools, Handoffs, Guardrails and Human Approval','agentic-ai-systems-tools-guardrails','An agent is more than a chat prompt. Explore the loop that lets a model plan, call tools, inspect results and hand off work under explicit safety controls.','artificial-intelligence','blog-5.png','Agentic AI,AI Agents,Tools,Guardrails', 'An AI agent is a software system that uses a model to decide what to do next, often with access to tools and a controlled environment. It is useful when a task requires multiple steps, external information or actions. It is also more complex than a simple question-answering interface because the application must manage permissions, failures, cost and side effects.
Separate the model from the application
The model proposes a next step; the application decides whether that step is allowed, executes approved tools and returns the result. A model should not directly receive database administrator credentials or unrestricted shell access. Tools should be narrow, typed and scoped to the signed-in user's permissions.
A simple agent loop
- Receive a goal and relevant context.
- Ask the model to select a response or a permitted tool.
- Validate the tool name and arguments.
- Check authorization and approval requirements.
- Execute the tool in a bounded environment.
- Return a short result to the model.
- Repeat until the task is complete or a safe stopping condition is reached.
Tools make agents useful
A course assistant might search published courses, read lesson metadata, draft a study plan or create a support ticket. It should not be allowed to change a payment record, approve a teacher or issue a refund without a separate authorization check. Read-only tools are a safer starting point than write-capable tools.
# Illustrative tool contract; authorization belongs in the server too.
def get_course_summary(course_id: int, learner_id: int) -> dict:
course = load_published_course(course_id)
progress = load_progress_for_learner(course_id, learner_id)
return {
"title": course.title,
"lesson_count": course.lesson_count,
"completed_lessons": progress.completed_count,
}
Handoffs and specialist roles
A larger workflow can route different subtasks to specialist agents: one checks course catalogue information, another drafts a curriculum outline, and another reviews accessibility or accuracy. Handoffs need clear descriptions and narrowly defined outputs. More agents are not automatically better; each additional handoff adds latency, cost and another place where context can be lost.
Guardrails and human review
Use input checks to block disallowed requests, tool-level checks to validate arguments and permissions, and output checks to prevent sensitive or unsafe information from leaving the system. Human approval is appropriate before side effects such as sending a message, deleting content, issuing a refund or changing an account role. The approval screen should show what will happen and the data that will be affected.
Evaluate the full workflow
Do not judge an agent only by whether its final answer sounds convincing. Track tool selection, tool arguments, latency, cost, retries, handoffs and final task success. Build tests for missing data, malformed tool inputs, permission failures, prompt injection in retrieved documents, timeouts and duplicate actions. Use traces and a fixed evaluation set to compare versions.
Start with a bounded use case
For an online school, a useful first agent can recommend courses based on a learner's stated goals and completed lessons. Keep it read-only: search the course catalogue and learner progress, then present recommendations with reasons and links. Once it is reliable, add human-approved actions such as creating a draft study plan.
Further reading
' ], [ 'Robotics with ROS 2: Nodes, Topics, Services, Actions and Simulation','robotics-ros2-lyrical-luth','A practical learning route from robot coordinate frames to ROS 2 communication and simulation, including the current Lyrical Luth distribution.','robotics-iot','blog-6.png','Robotics,ROS 2,Python,C++,Simulation', 'Robotics combines software, electronics, mechanical design, control theory, sensing and mathematics. A robot must perceive its environment, estimate where it is, decide what to do and move safely. ROS 2 is a widely used software ecosystem that helps developers organise these capabilities into reusable processes and communication interfaces.
What is current in ROS 2?
The ROS 2 documentation lists Lyrical Luth, released on May 22, 2026, with an end-of-life date in May 2031. Jazzy Jalisco remains a supported long-term distribution through May 2029. Kilted Kaiju is listed with an end-of-life date in December 2026. Select a distribution based on your operating system, required packages, hardware vendor support and the maintenance window of your project.
Understand the building blocks
- Node: an executable unit that performs a focused responsibility, such as reading a camera or controlling a motor.
- Topic: a publish/subscribe channel for streams such as sensor readings, images or robot status.
- Service: a request/response operation for short tasks such as resetting a component.
- Action: a long-running operation that can report feedback and be cancelled, such as navigating to a goal.
- Message: a typed data structure passed between nodes.
Use Python and C++ appropriately
Python is approachable for prototypes, orchestration, testing and many high-level robotics tasks. C++ is useful where deterministic performance, lower-level hardware access or an established high-performance library is important. Most robotics systems use both rather than treating the languages as rivals.
Coordinate frames are essential
A camera reports measurements in its own frame; a wheel odometry system reports movement relative to a base frame; a map uses a world reference. A robot needs consistent transformations between these frames. Incorrect timestamps or frame names can make a robot behave as if its sensors disagree, even when the sensor values themselves are reasonable.
Simulation before hardware
Build and test the control loop in simulation before placing motors and people at risk. Simulators let you test sensor noise, collisions, navigation and recovery behaviour. A simulation is not a perfect substitute for physical hardware; friction, lighting, calibration, latency and battery conditions can differ. Use simulation to catch design errors, then validate carefully on the real platform.
Suggested project sequence
- Install a supported ROS 2 distribution and run the talker/listener examples.
- Create a sensor publisher and a data-logging subscriber.
- Visualise robot frames and sensor messages.
- Write a simple service for configuring a controller.
- Implement a navigation action with feedback and cancellation.
- Test in simulation, then move to a low-speed physical robot with emergency-stop controls.
Safety is part of engineering
Motor commands, battery systems, robot arms and mobile bases can cause physical injury. Add speed and workspace limits, a physical emergency stop, clear operator controls and tests for communication loss. Do not rely on a software agent or network connection as the only safety mechanism.
Further reading
' ], [ 'Full-Stack Development: Build a Web Product from Browser to Database','full-stack-development-end-to-end-roadmap','A full-stack developer understands how browser interfaces, application logic, APIs, databases, security and deployment fit together. This project-based roadmap builds that mental model.','web-development','blog-1.png','Full Stack,PHP,JavaScript,APIs,MySQL', 'Full-stack development is not a contest to know every framework. It is the ability to deliver a complete feature across the browser, server, data store and production environment. A strong developer understands the boundaries between these layers and can reason about failure at each one.
The browser layer
HTML describes meaning and structure, CSS controls presentation, and JavaScript adds interaction. Use semantic elements, accessible labels, keyboard-friendly controls and responsive layouts. The browser should validate obvious mistakes for user experience, but server-side validation remains mandatory because requests can be sent without the browser interface.
The server layer
The server authenticates users, checks permissions, validates data, applies business rules and returns HTML or JSON. Organise code around responsibilities: routing, controllers, services and data access. Do not place database queries, payment logic and presentation markup into one giant page. Keep secrets in server-side configuration and never expose them in JavaScript.
Data and API design
Model the entities first. Use primary keys, foreign keys, unique constraints and indexes. Use prepared statements for database queries. API endpoints should have stable resource names, clear status codes, validation errors and versioning when public clients depend on them. A browser or Android app must never be trusted to decide that a user owns a course or has paid.
$stmt = $pdo->prepare(
'SELECT id, title FROM courses WHERE status = ? AND slug = ? LIMIT 1'
);
$stmt->execute(['published', $slug]);
$course = $stmt->fetch();
Security is part of the stack
- Use password hashing APIs, not reversible encryption for passwords.
- Use HTTPS and secure, HttpOnly, SameSite session cookies.
- Protect state-changing browser requests with CSRF tokens.
- Escape untrusted output and sanitise rich HTML with a strict allowlist.
- Authorise every protected resource on the server.
- Validate uploads by actual MIME type and store private course files outside the public web root.
- Rate-limit login, password reset and comment endpoints.
Testing and deployment
Write unit tests for business rules and integration tests for database workflows. Add smoke tests for registration, enrolment, payment verification and lesson access. Keep development, staging and production settings separate. Back up the database, test restoration, rotate secrets and monitor server logs after deployment.
Build a real project
A course marketplace is an excellent full-stack project. Learners register, browse courses, enrol, track lessons and submit questions. Teachers create course outlines and lessons. Administrators approve teachers and verify payments. Each actor has different permissions, and every important state change must be recorded. Build a small vertical slice first, then expand it without weakening the permission model.
Further reading
' ], [ 'C++ for Robotics and High-Performance Applications: A Practical Bridge','cpp-for-robotics-and-performance','Learn why C++ remains important in robotics, simulation and performance-oriented systems, and how to write safer modern C++ instead of relying on low-level habits.','robotics-iot','blog-2.png','C++,Robotics,Performance,RAII', 'Robotics is a strong example of a field where multiple programming levels work together. A high-level application may use Python to coordinate tasks, while performance-sensitive nodes, hardware drivers and reusable libraries are commonly written in C++. Understanding C++ lets a robotics developer read and extend more of the software stack.
Build a reliable foundation
Before working with a robot, learn compilation, headers, source files, types, functions, structs, classes, references and containers. Then understand object lifetime, RAII, const-correctness and error handling. These fundamentals help you distinguish a data race from a sensor problem and a lifetime bug from a control algorithm bug.
Model sensor data clearly
Represent a reading with named fields and units. A distance measurement in metres should not be confused with centimetres. A timestamp should identify the clock domain and the instant at which the measurement was taken. A frame identifier should explain where the measurement is expressed.
#include <chrono>
#include <string>
struct RangeReading {
double metres{};
std::chrono::steady_clock::time_point received_at;
std::string frame_id;
};
Use concurrency carefully
Robotics nodes often process multiple data streams. Concurrency can improve responsiveness but introduces ordering, shared-state and shutdown concerns. Prefer message passing or clear ownership boundaries. If shared state is needed, protect it consistently and keep critical sections short. Do not add threads before measuring whether the architecture needs them.
Measure before optimising
Profile CPU time, memory allocation, message latency and deadline misses using representative input. A faster function is not valuable if it causes unstable control timing or makes debugging much harder. Select algorithms based on the real data size and performance target, not only on benchmark folklore.
Practice project
Create a small telemetry processing library that receives timestamped range readings, rejects invalid values, calculates a rolling average and publishes a result. Test zero readings, outliers, delayed messages and empty input. Then connect it to a ROS 2 topic in simulation.
Conclusion
Modern C++ gives robotics programmers tools to express ownership and constraints. It rewards developers who combine language knowledge with system-level testing, simulation and safe hardware practices.
Further reading
' ], [ 'SQL Joins, Indexes and Transactions: A Hands-On Database Lesson','sql-joins-indexes-transactions-tutorial','A guided database lesson for students who want to understand why joins multiply rows, when indexes help and how transactions keep a multi-step operation consistent.','data-sql','blog-3.png','SQL,Joins,Indexes,Transactions', 'A database application succeeds when its data remains correct as users act at the same time. SQL is the language for describing data operations, while constraints and transactions help the database protect consistency.
Start with three tables
Imagine a school platform with students, courses and enrolments. Students and courses have independent identities. Enrolments connect a student to a course and can record date, status and completion. The join table is where many-to-many relationships belong.
CREATE TABLE students (
id BIGINT PRIMARY KEY,
full_name VARCHAR(150) NOT NULL
);
CREATE TABLE courses (
id BIGINT PRIMARY KEY,
title VARCHAR(200) NOT NULL
);
CREATE TABLE enrolments (
student_id BIGINT NOT NULL REFERENCES students(id),
course_id BIGINT NOT NULL REFERENCES courses(id),
enrolled_at TIMESTAMP NOT NULL,
PRIMARY KEY (student_id, course_id)
);
Why a join can return more rows
If one student joins four courses, that student appears four times in a joined result. This is expected: a row represents a relationship, not merely a student. If you need one row per student, aggregate or use a query that expresses that requirement. Avoid adding DISTINCT blindly because it can hide a modelling error and add extra work.
Index the access path
The composite primary key helps find enrolments for one student and prevents the same student-course pair from being inserted twice. If the application frequently lists all learners enrolled in a particular course, a second index beginning with course_id can be appropriate. Measure queries with realistic data; indexes are not free.
Use transactions for multi-step work
Suppose a learner pays for a course. The application may insert an order, its line item, a payment record and an enrolment. These writes should happen in a transaction. If one statement fails, roll back the entire group so the application does not leave an order without its payment record or an enrolment without a valid order.
Practice checklist
- Insert two students and three courses.
- Create several enrolment rows, including one student in multiple courses.
- Write an inner join and a left join.
- Count active learners by course using
GROUP BY. - Try to create a duplicate enrolment and observe the unique constraint.
- Use a transaction and intentionally trigger a failure to test rollback.
The goal is to think in relationships and invariants. Once that habit becomes natural, SQL becomes easier to reason about and application bugs become easier to prevent.
' ], [ 'AI-Assisted Software Engineering: Use Coding Agents Without Losing Control','ai-coding-agents-software-engineering','Coding agents can inspect repositories, propose edits and run tools. Learn how to set boundaries, verify output and keep engineers accountable for software quality.','artificial-intelligence','blog-4.png','AI Coding,Software Engineering,Agents,Testing', 'AI coding tools can accelerate tasks such as explaining unfamiliar code, drafting tests, refactoring a small module or preparing documentation. The highest-value workflow keeps the developer responsible for requirements, security and verification. A generated patch is a proposal, not proof that the software is correct.
Give the agent a bounded task
“Build the whole system” is too broad to evaluate. A stronger task describes one outcome, the files that may change, constraints, tests and acceptance criteria. For example: “Add a server-side check that prevents a learner from opening a lesson unless an active enrolment exists. Keep the current API response format. Add tests for active, pending and missing enrolment.”
Keep tool permissions narrow
Agents may use repository search, code editing, tests and documentation tools. Separate read-only tools from tools that make external changes. Do not give a coding agent production database credentials or unrestricted access to deployment secrets. Use temporary branches and test databases.
Review security-sensitive code manually
Pay particular attention to authentication, authorization, file uploads, payment callbacks, cryptography and SQL queries. Check that prepared statements are used, user input is validated, output is escaped and ownership is verified on the server. A UI button being hidden does not protect the endpoint.
Build a verification loop
- Read the task and acceptance criteria.
- Inspect the code and its existing conventions.
- Ask for a small implementation.
- Run syntax checks and targeted tests.
- Review the diff, not just the summary.
- Test failure paths and permissions.
- Merge only after a human reviewer accepts the result.
Measure useful outcomes
Track escaped defects, review time, test quality and change failure rate rather than counting generated lines. A tool that produces more code but increases the number of regressions is not improving engineering performance.
Conversation (0)
Sign in to join the conversation.