What are the best coding classes in Hammersmith and Fulham?
Hammersmith and Fulham is the west London borough of Hammersmith, Fulham, Shepherd's Bush, White City, Parsons Green, Sands End and Brook Green, with 183,157 residents at the 2021 Census, Fulham Palace as its only Grade I building and 266 listed entries in all. A class worth joining shows learners how a clever idea beats brute force, and this page does it with a walk: visit all 266 listed buildings in the shortest possible loop, using a curve drawn by recursion, the Hilbert curve, to put them in a sensible order. Teachers in India teach live on video, for ages 6 to 67, one to one or in small classes of five to ten learners at the same stage. There is no charge for the first lesson. Carrying on costs USD 100 a month in a class or USD 150 a month one to one.
Imagine a walking tour of every listed building in Hammersmith and Fulham: 266 of them, from Fulham Palace to the Grand Hall at Olympia. Take them in a random order and your loop would be about 600 kilometres long, criss-crossing a borough only seven kilometres from end to end. Sort them west to east and it is still 265. Our learners try something cleverer. The Hilbert curve is a line that wriggles through every square of a grid, drawn by a simple rule applied again and again: each square splits into four, and the curve visits the four in a twisted U. Its magic is that points close together on the curve are close together on the map. Line the buildings up along it and the tour drops to about 54 kilometres.
Facts last verified 25 September 2026. Teaching is online; no Hammersmith and Fulham branch is claimed.
Picture a Year 3 child in Fulham who draws mazes, a Year 9 pupil in Shepherd's Bush who loves puzzles about shortest routes, a Year 12 student in Hammersmith considering computer science, and a delivery driver in White City who plans a route every morning. Each can begin with a free lesson.

A Scratch pen that draws a pattern by repeating the same rule inside itself, the first step to a Hilbert curve.
See the syllabus
First Python: plot map points, join them in order and measure the route.
See the syllabus
Python for Key Stages 3 to 5, including recursion, the Hilbert curve and route comparisons from this page.
See the syllabus
For adults who plan rounds, visits or deliveries and want to see how ordering methods compare.
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 syllabusFigures come directly from the named publisher, or from our own count of its data where we say so.
| Measure | Value | Source |
|---|---|---|
| Usual residents, 2021 Census | 183,157 | ONS table TS001 |
| Heritage List entries inside the borough | 266: 1 Grade I, 25 Grade II*, 240 Grade II | Historic England data, counted 25 September 2026 |
| Size of the borough's bounding box | about 4.1 km by 7.2 km | Our measurement from the ONS boundary |
| Lines at Hammersmith | Circle, District, Hammersmith & City and Piccadilly | TfL open data, checked 25 September 2026 |
Fulham Palace is the only Grade I entry inside the borough, which makes it the natural start of the tour.
The Grand Hall and Pillar Hall at Olympia, Kelmscott House, Hurlingham House and Sandford Manor House are among the Grade II* entries.
Gasholder No 2 at the former Fulham Gasworks is Grade II*, as are Sir William Powell's Almshouses and Fulham Town Hall.
The council's find-your-library page names libraries at Askew Road, Fulham, Hammersmith and Shepherds Bush.
The Hilbert curve is built by recursion: to draw the curve on a grid, draw four smaller copies of it, rotated so they join end to end.
| Grid | Squares visited | Tour through the 266 buildings in curve order |
|---|---|---|
| 2 by 2 | 4 | 181.2 km |
| 4 by 4 | 16 | 107.6 km |
| 16 by 16 | 256 | 61.8 km |
| 256 by 256 | 65,536 | 53.5 km |
| 1,024 by 1,024 | over a million | 53.5 km |
Each level refines the one before, and the tour shortens quickly and then stops improving: by 256 by 256 every building sits in its own square, so a finer grid changes nothing. The deep idea is locality. Two points next to each other along the curve are almost always near each other on the map, so sorting by position along the curve keeps neighbours together. Sorting by a single coordinate, west to east, does not: it zigzags north and south across the borough on every step.
Every distance here is a straight line between two listed buildings' map points, not a walk along streets, and learners say so in their write-up. Hammersmith Bridge does not appear: its heritage list point falls outside the borough's land boundary in the data we used.
Learners code each ordering, measure the loop, and discover which ideas are worth their effort.
Random order, then sorting by one coordinate. Quick to code, and a useful warning about how bad a thoughtless order can be.
Zig-zag strips across the map, then the Hilbert curve. Both keep neighbours together; one uses recursion.
Nearest neighbour picks the closest unvisited building each time. Then a 2-opt pass uncrosses any crossing legs until none improve.
| Method | Loop length |
|---|---|
| Random order, average of 1,000 tries | 600.0 km |
| Sorted west to east | 265.5 km |
| Sorted south to north | 157.9 km |
| Eight zig-zag strips | 63.1 km |
| Hilbert curve order | 53.5 km |
| Nearest neighbour | 46.0 km |
| Hilbert order, then 2-opt tidy-up | 41.3 km |
The Hilbert order cuts the random loop by more than ninety per cent using nothing but a sort. Nearest neighbour does better, and tidying the Hilbert route with 2-opt does better still, at 41.3 kilometres. The trade-off is the lesson. The Hilbert sort takes one pass and works just as well for a million points; nearest neighbour and 2-opt need far more comparisons as the list grows. Choosing a method means weighing quality against effort, and learners measure both.
An AI assistant can produce Hilbert curve code on request. What it will not give a learner is the feel for recursion that comes from drawing the curve level by level, or the judgement that comes from racing six methods on the same real map and seeing where cleverness pays and where it stops paying. That judgement, which method is good enough for the job, is what engineers are hired for.
The Hilbert curve is the friendliest possible introduction to recursion, one of the hardest ideas in programming for beginners.
At the smallest size, the curve is just a U through four squares. The program must know when to stop splitting.
At any larger size, draw four smaller curves, turning the first and last so the ends meet.
Drawing levels one, two, three and four on screen makes the pattern of self-similarity impossible to miss.
GCSE computer science students meet recursion as a concept; A-level students must be able to write and trace recursive functions, and the Hilbert curve is an ideal practice piece. The building positions are Historic England's and the boundary is the ONS's; the orderings, curves and loop lengths are our own work, computed on 25 September 2026. Neither Historic England, Hammersmith and Fulham Council, TfL nor the ONS has any tie to Modern Age Coders.
The borough is well served by the Tube. Our classes do not need it.
TfL's open data lists the Circle, District, Hammersmith & City and Piccadilly lines at Hammersmith.
A learner in the north of the borough and another by the river at Sands End can share one class from home.
No commute is the shortest route of all: open the laptop, join the call, and the class of five to ten is there.
Hammersmith and Fulham in London
Hammersmith and Fulham is one of London's 32 boroughs. The London page covers every borough and the City, linking each page as it goes up, including Ealing to the west and Wandsworth across the river.
We start each learner at the rung the free lesson reveals, not the one their year group implies.
Children draw with the Scratch pen and discover shapes made by repeating a rule.
Scratch Coding for KidsCoding for KidsPython that plots points, joins them in order and adds up the lengths of the legs.
Python and AI for KidsMaths Through CodingHilbert curves, greedy routes and 2-opt on real map data, excellent for A-level computer science and project work.
Python for TeensFull Stack Web Development for TeensAdults learn to compare planning methods on quality and effort, and to pick the one that fits the job.
Data and AI Analytics for Non-Programmers (Excel, Sheets, Power BI)Python Automation CourseBecause choosing the right method is a judgement, and judgement comes from experiments.
Route planning is everywhere in modern software, and AI tools will happily suggest an approach. But which one? On this borough's 266 buildings a one-line sort along a Hilbert curve gets within about a third of the tidied 2-opt route, while greedy and 2-opt methods do better at a much higher cost as the list grows. A learner who has timed and measured all of them can judge an AI's suggestion instead of just accepting it.
Recursion, locality and trade-offs between speed and quality are ideas that last a whole career, from databases to games to logistics. Tools will keep writing code. People who know which code to ask for will keep being needed.
Hammersmith and Fulham packs 266 listed buildings into a few kilometres. A learner here who can find a sensible path through them with a curve drawn by recursion has learned something genuinely elegant. The longer argument is in why teenagers should still learn to code in 2026.
Wherever a learner is in the borough, their class is a video call away.
A laptop or desktop, headphones and broadband that copes with video are enough to take part.
We use the Key Stages of schools in England to describe progress, up to sixth form, naming GCSE or A level when they apply. All teaching is in English.
A proper lesson with a teacher, not a sales pitch, ending with a recommended level and course. No card details needed.
Five to ten learners at the same stage, from across the UK and further afield, so a sensible time is usually available.
Most classes meet on two evenings a week and pause for holidays and exams by agreement.
Teachers are in India, but every time we send is given in UK time.
A compact borough, a wide class
Around 183,000 people live in Hammersmith and Fulham, and a good class needs five learners at one stage free together, so ours draw from far beyond the borough.
A free first lesson, then a single monthly fee, the same from White City to Fulham.
A full first lesson with a teacher, free, with a recommended level, course and time at the end.
Roughly eight live lessons a month in a class of five to ten at one stage.
Roughly eight live lessons a month, one learner with one teacher.
Families here pay in US dollars, as all families outside India do, and the site shows no pound prices. Nothing is charged until after the free lesson and until a course and weekly time are agreed. The pricing page covers pausing, missed lessons and switching between group and private teaching.
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
Share the learner's age or school year and one interest. The first lesson might be a Scratch pattern drawn by repetition, a Python route plotter, or the Hilbert curve project on this page.
About the borough, the Hilbert curve project and our lessons.
The 2021 Census counted 183,157 usual residents in the London Borough of Hammersmith and Fulham, in ONS table TS001.
We counted 266 entries on Historic England's National Heritage List inside the borough boundary: one at Grade I, Fulham Palace, 25 at Grade II* and 240 at Grade II.
A line that passes through every square of a grid, built by recursion: each square is split into four and the curve visits them in a turned U shape. Points close together along the curve are close together on the map.
Taking the buildings in Hilbert curve order gave a straight-line loop of 53.5 km; nearest neighbour gave 46.0 km; and tidying the Hilbert route with 2-opt gave 41.3 km. A random order averaged 600 km.
No. They are straight lines between map points, not routes along streets. The project is about comparing ordering methods fairly, all measured the same way.
After the free lesson we suggest a weekly slot in a class at the right level with room. Teachers are in India; slots are quoted in UK time.
A computer with sound and a steady connection. The route project needs Python and one free download of heritage list points.
No. There is no Hammersmith and Fulham centre and no premises anywhere in the UK, because every lesson is live online. A learner needs a computer with sound and a stable connection, and our phone number is Indian.
The first lesson is free. After that, a group place costs USD 100 a month for two live lessons a week, about eight a month, with five to ten learners, and one-to-one teaching on the same timetable costs USD 150 a month. Nothing is charged until the course, format and time are agreed.
By level, pace and goals rather than by age or neighbourhood, with five to ten learners at one stage. Where no group fits the learner's week, one-to-one lessons are offered.
The London page indexes every borough and the City, linking pages as they appear, from Hounslow further west to Camden in the north. Route planning and search lead naturally into our AI and machine learning classes in London, and the UK coding page sets out school stages in all four UK nations.