Which online coding and Python classes are best for Hatfield learners?
Hatfield counted 41,560 usual residents as an ONS built-up area at the 2021 census. The wider borough of Welwyn Hatfield counted 119,836. Gazetteer suburbs inside the town include South Hatfield, Roe Green, Oxlease, Birchwood, Old Hatfield, Ellenbrook and Hatfield Garden Village. Modern Age Coders teaches coding, Python, AI, vibe coding and maths to Hatfield learners aged six to 67, live on video, with a tutor based in India, either one-to-one or in a group of five to ten at the same level. Our Hatfield project asks a question every programmer meets daily: when a file changes, what exactly changed? Learners write the Myers diff in Python and test it against the library that ships with Python. Your opening lesson is on us. Carrying on costs USD 100 per month for a seat in a small class, or USD 150 per month for a tutor to yourself.
Every time a programmer saves a change, a tool compares the old file with the new one and reports what was added and what was removed. The report looks simple, yet producing the shortest possible report is a real search problem. In 1986 Eugene Myers published a method that finds it quickly when the two versions are mostly alike, and a version of his algorithm is still the default in Git. Hatfield learners code it themselves, then point it at three versions of the public encyclopedia article about their own town.
Facts last verified 30 September 2026. Teaching is online; no Hatfield branch is claimed.
Pick by age. Each course begins with a free live lesson, and no payment card is needed to book it.

How to think: comparing two lists by hand and spotting what moved, before any code.
See the syllabus
Vibe coding for children: an AI helps build a Scratch game, and the child checks every change it makes.
See the syllabus
Complete Python for teenagers, with the Hatfield diff project as a milestone.
See the syllabus
Git and GitHub, where diffs are read every day; the natural next step after this project.
See the syllabusBrowse the course atlas for more than one hundred options and use the coding roadmap to check prerequisites.
The four we are known for
These run underneath everything above. Every one is live and online, placed by ability rather than by age, and the first class is free.

Python, web and AI projects where the learner still owns the thinking.
See the syllabus
Automate the work you already do, then let AI carry part of it.
See the syllabus
Train a model, read what it learned, and be able to say why it is wrong.
See the syllabus
Run AI coding agents on real work without losing control of the codebase.
See the syllabusTwo census counts and seven gazetteer names, each with its source.
| Area | Residents |
|---|---|
| Hatfield built-up area | 41,560 |
| Welwyn Hatfield borough | 119,836 |
The borough figure is a separate count on a wider boundary: it also covers Welwyn Garden City, Welwyn, Brookmans Park and Cuffley. In the postcode gazetteer, South Hatfield, Roe Green, Oxlease, Birchwood, Old Hatfield, Ellenbrook and Hatfield Garden Village are all listed under AL10, and for each one the nearest postcode falls inside the Hatfield built-up area. Learners here follow the English national curriculum, so telling us a school year from Year 2 to Year 13 is the quickest way to place them. We support GCSE and A level computer science without replacing the school course.
The Hertfordshire page covers the county, and Welwyn Garden City shares the borough with Hatfield. Our view on why the basics still matter is in learn to think, not just use AI tools.
Three versions of one public article, one algorithm written by hand, and two ways of getting it wrong.
The English Wikipedia article on Hatfield, Hertfordshire keeps every saved version. We fetched three through its public interface: 27 December 2020, 28 September 2025 and 29 September 2026. The page quotes none of the article; the learner only counts. Split into lines, the 2025 and 2026 versions each have 274. Split into words, they have 4,594 and 4,601. The question is how to describe the difference between them in as few insertions and deletions as possible.
The first attempt most people make is to compare the texts position by position: line 1 with line 1, line 2 with line 2, and so on. On the one-year change that reports 263 of the 274 lines as different, although the two versions share 258 lines unchanged. One line added near the top shifts everything after it by one place, and a position check cannot see a shift. At word level the same check reports 4,550 differences, while 4,544 words in fact survive the year in order.
Myers treats the problem as a walk across a grid: moving right deletes a word from the old version, moving down inserts one from the new version, and a diagonal step is free wherever the two words match. The shortest edit script is the path with the fewest non-diagonal steps. His algorithm explores the grid by number of edits, one extra edit at a time, and stops as soon as a path reaches the corner. When two versions are close, that happens early. In Python the core is a loop over a dictionary of how far each diagonal has reached, about twenty lines in all.
| Comparison | Myers (shortest) | difflib, default settings | Position by position |
|---|---|---|---|
| 2025 to 2026, lines | 32 | 32 | 263 lines differ |
| 2025 to 2026, words | 107 | 107 | 4,550 words differ |
| 2020 to 2025, lines | 210 | 224 | not meaningful |
| 2020 to 2025, words | 2,056 | 2,202 | not meaningful |
For the close one-year pair, Python's built-in difflib agrees with Myers exactly. For the five-year pair it reports 14 more line edits and 146 more word edits than the shortest possible. The reason is a setting called autojunk. For long inputs, difflib ignores any item that is too common to be a useful anchor, and in the newer of the two texts that meant six words, including "the", "and", "of" and the name Hatfield itself. Switched off, difflib matches Myers on lines, 210 each, but is still 10 edits longer on words, because its method looks for long matching blocks first and never promised the shortest answer.
Every Myers count was checked against the slow method: a full table of every word against every word, 21,136,994 cells for the one-year pair. On this laptop that took 6.18 seconds. Myers took 0.005 seconds on the same pair, because only a handful of edits separated the versions. On the five-year pair, with 2,056 edits, Myers needed 2.1 seconds against 5.0 for the table, so the speed advantage shrinks as the difference grows, which is exactly what the O(ND) in the paper's title predicts.
Two lists of ten fruit, one with an item slipped in. Line them up by position, then by matching, and count the changes each way.
Write a longest-common-subsequence table in Python for short sentences and read the edits back off it.
Code the Myers loop, test it against the table, then time both on the three Hatfield revisions.
Revision texts are from English Wikipedia, used under its Creative Commons licence; we report counts only. The algorithm is from Myers (1986) in Algorithmica. Timings depend on the machine. The splits into lines and words are our choice, and a different split would give different counts.
When an assistant edits code, the change arrives as a diff, and reading it is the review.
| In the project | When coding with AI |
|---|---|
| A position check called 263 of 274 lines different | Never judge an AI edit by eye alone; let a real diff show what moved |
| Myers found only 32 line edits | A short, clean diff is easier to review, so ask the assistant for small changes |
| difflib added 146 word edits by default | A library setting you never read can change the answer; check the defaults |
| The table confirmed every count | Test a clever method against a slow, obvious one before trusting it |
| Speed fell as differences grew | Know when a tool is fast, and when it is not |
Coding assistants and AI agents propose their work as edits to existing files, and most tools show those edits as a diff for a person to accept or reject. A learner who has built a diff reads one differently: they know a moved block can look like a deletion plus an insertion, and that a long, noisy diff often hides a small real change. That is the core of vibe coding done properly, where the AI drafts and the learner decides. Agent-building comes later, when Python flows without prompting, which for most people means the late teens or adulthood; Copilot Studio agents are private-lesson work only. See AI agents for UK students and understand the code, don't copy-paste.
Wikipedia, the Office for National Statistics and postcodes.io have no connection with Modern Age Coders. We used their public data; the code, the counts and the conclusions are our own.
A school year suggests where to start; the free lesson settles it.
Comparing, sorting and spotting changes in lists and pictures.
Problem Solving and Computational Thinking for KidsScratch Coding for KidsScratch and a first taste of Python, with an AI helper whose changes the child reviews.
Vibe Coding for KidsPython and AI for KidsStrings, tables and algorithms in Python, then Git for real projects.
Python for TeensGit & GitHub Course for TeensDynamic programming and search in depth, then agents built on top.
Data Structures & Algorithms CoursePython MasterclassA diff algorithm lists the insertions and deletions that turn one text into another, ideally as few as possible, and it matters for AI coding tools because their suggestions reach people as diffs that must be reviewed before they are accepted.
On two versions of the Hatfield article a year apart, the Myers diff needed 32 line edits where a position-by-position check reported 263 of 274 lines as different.
After this project, learners ask of any AI edit: how big is the real change, and what did the tool hide by showing it this way?
A Hatfield teenager who has written a diff can review an assistant's work instead of trusting it, and that skill is built by learning to code. The longer argument is in why teenagers should still learn to code in 2026.
Learners join from home on a laptop or desktop with a camera. A steady connection matters more than a fast one.
The learner types and runs every line. The tutor asks questions and points at bugs rather than fixing them.
The free lesson shows the level; the course suggestion comes afterwards, not before.
The trial is a complete lesson, it is free, and booking it needs no card.
Groups are matched on level and pace, with classmates from across the UK.
Share your school term dates and we leave the holiday weeks out.
British clock changes are handled by the tutor; the slot stays at the same UK time all year.
Why live and online
On a live call the tutor sees a mistake as it is typed and can ask why. A national pool of learners also lets groups be matched far more closely by level than any single town could manage.
Learners in Hatfield pay our standard international fees.
One complete lesson free, ending with a course suggestion.
Small-group tuition, about eight lessons a month.
One-to-one tuition, about eight lessons a month.
Fees are set in US dollars and are not converted into sterling. The trial is unbilled; invoices begin after the trial, once you have chosen a course and a weekly slot with us. The pricing page covers breaks, absences and moving from a class to private tuition or back.
Rated 4.9 across 547 Google reviews. These are real reviews, reproduced as written.
★★★★★
"The one step solution for my son. Modern Age Coders make learning coding so simple that kids love it. The teachers explain complex concepts clearly with practical exercises and interactive content."
Ria Mukherjee
Parent
★★★★★
"Modern Age Coders has been a game-changer for me. I struggled to grasp IT concepts and coding before joining, but their classes transformed everything. I can now confidently write complex programs with ease."
Samriddha Mondal
Student
★★★★★
"One of the most wonderful education centres out there. Education is not limited to school syllabus but focuses on skill development."
Vansh Agarwal
Student
★★★★★
"My child Dhairya is really enjoying the Modern Age Coders classes. This is his first online class and he eagerly looks forward to it. I can already see his improvement, and the teachers are very cooperative."
Sonam Oswal
Parent of Dhairya
★★★★★
"Modern Age Coders have wonderful teachers who teach in a clear, easy and practical way. The teacher boosts students' confidence and inspires them to learn without hesitation."
Sonu Goyal
Parent
★★★★★
"I highly recommend this computer coding class! The teachers are incredibly knowledgeable and passionate about coding."
Ritu Kedia
Parent
Tell us an age or school year and something the learner enjoys. The trial might be spotting the differences between two lists, a Scratch game built with AI help, a first Python program, or a small diff written in code.
Diffs, Python, AI, vibe coding, fees and timings.
The ONS counted 41,560 usual residents in the Hatfield built-up area at the 2021 census. The borough of Welwyn Hatfield counted 119,836.
Yes. Lessons are live online for ages 6 to 67, so learners in South Hatfield, Roe Green, Oxlease, Old Hatfield and the rest of the town join from home.
It finds the shortest list of insertions and deletions that turns one sequence into another, by exploring paths with one more edit at a time until one reaches the end. Eugene Myers published it in 1986.
Between the 2025 and 2026 versions of the article, Myers needed 32 line edits while a position-by-position check reported 263 of 274 lines as changed. Over five years, Python's difflib with default settings was 146 word edits longer than the shortest.
Its autojunk setting ignores very common items on long inputs, and it looks for long matching blocks rather than the minimum number of edits. It is fast and usually close, but not guaranteed shortest.
Describing the program you want to an AI, letting it write a draft, and then reading, testing and correcting that draft yourself. We teach it alongside enough real coding to judge the draft.
After a learner can write Python with no scaffolding, typically in the late teens or as an adult. Copilot Studio agent work is private tuition only.
Algorithms, strings and programming appear in both, so it is useful practice. No grade outcome is promised.
The first lesson is free. After that it is USD 100 a month in a group or USD 150 a month one-to-one.
Of course. List the weeks you will be away and no lessons are booked in them.
Try Welwyn Garden City, St Albans and Stevenage, each with its own project. The Hertfordshire page and the UK hub list the rest.