What are the best coding classes in Leiden?
Coding classes in Leiden serve 130,328 people (Statistics Netherlands, 1 January 2026) packed onto 21.85 square kilometres of land, which its own entry calls by far the smallest area of any Dutch city above a hundred thousand. In 1807 a boat carrying 37,000 Hollandse ponden of gunpowder exploded here, and the same source gives that charge as 17,760 kilograms, which works out at 0.48 kilograms to the pond rather than the 0.4536 of a modern pound. Throughout the city, Modern Age Coders teaches on a live connection and in English, taking learners at any age between 6 and 67. The first hour is given free. Afterwards it is USD 100 a month in a group of five to ten, and USD 150 with a teacher to yourself.
A record from 1807 says the boat carried 37,000 pounds of gunpowder. Convert that with the pound on your phone and you get 16,783 kilograms. The source itself says 17,760, because the Hollandse pond of the day was 0.48 kilograms rather than 0.4536. Almost a tonne of explosive goes missing in a conversion that looks completely routine, and nothing in the word pound warns you. A child who has met one unit that changed size behind its own name will check the others before trusting a number that crossed a century.
Facts last verified 7 September 2026. Teaching is online; no Leiden branch is claimed.
A groep 5 child in the Merenwijk, a teenager in Leiden-Zuidwest who wants the maths behind the model, a university student whose degree assumes programming it never taught, and a parent in the Stevenshof handling data from three decades: four doors into a very small city.

Typed Python, turtle drawings and a first program that learns a rule, in English, for the groep 5 to 8 child anywhere in the city.
See the syllabus
Python and real datasets to a first trained model, for the teenager who wants to handle evidence rather than opinions.
See the syllabus
Deep learning and generative AI in Python, for the student who needs the mathematics under the library call.
See the syllabus
Excel, SQL, Python and BI, for the working parent whose sources span decades and disagree about their own units.
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 syllabusThe national register held 130,328 people on 1 January 2026, in 74,251 households averaging 1.74 people, on 21.85 square kilometres of land inside 23.27 of territory. The published density is 5,979 residents to the square kilometre against a national average of 536, the highest in this series. In 1995 the count was 115,442, so Leiden has gained 14,886 people in thirty-one years, a rise of 13 percent.
42,159 of the 74,251 households hold exactly one person, the highest share in this series. 23,428 residents are between fifteen and twenty-five, 18 percent, and only 14,836 are under fifteen, 11 percent; 40,965 are between twenty-five and forty-five, 29,253 between forty-five and sixty-five and 21,846 are sixty-five or over.
The municipality counts 40,949 students at institutions here for 2025, alongside 3,730 residents in applied higher education and 13,240 at university level. Those two figures answer different questions and are never added on this page. Leiden University was founded in 1575, on 8 February by the Julian calendar, by Willem van Oranje, and is described as the oldest university in the Netherlands.
25 primary establishments teach 8,070 pupils and 16 secondary establishments teach 5,510, both for 2025. For a city of this size those are small numbers, which is what an age structure with only 11 percent under fifteen produces.
A city that cannot spread out
Its own entry says that of all Dutch cities above a hundred thousand residents, Leiden has by far the smallest area, and it holds more than 1,250 national monuments inside it. The Burcht, a motte castle, stands where two arms of the Rhine meet, and city rights date from 1266.
Leiden is a single woonplaats divided into 10 wijken and 54 buurten. Nothing here is more than a few kilometres from anything else, which changes what an online class is competing against.
Inside the singel, with the Burcht, the canals, the university buildings and a large share of the 1,250-plus national monuments. Also where a great many of the 42,159 single-person households are.
North across the Rhine, the nineteenth and twentieth-century working districts. Younger families than the centre and the fullest primary schools in the municipality.
The 1970s expansion in the north-east, planned around its own centre and green space, and one of the few parts of the city with room between the buildings.
The post-war and 1980s districts in the south-west, past the ring road. Family housing, primary schools and a real bicycle ride to the university quarter.
The older residential districts towards Leiderdorp, with the botanical gardens and the museums, and the shortest walk to the station of anywhere outside the centre.
North-west of the station, the research and teaching quarter that pulls in much of the 40,949 student figure. Very few of the people counted there are counted in the household figures for the same ground.
One hour, one fee and one class serve all ten wijken. What a learner can already do settles the grouping; where they live never enters into it.
The national count, the municipal entry, the university, and the 1807 record the project below is built on.
Statistics Netherlands: 130,328 residents in 2026; 74,251 households for 2025 averaging 1.74 people, 42,159 of them single-person, 57 percent; 14,836 under fifteen; 23,428 aged fifteen to twenty-five; 40,965 aged twenty-five to forty-five; 29,253 aged forty-five to sixty-five; 21,846 aged sixty-five and over; 25 primary establishments with 8,070 pupils and 16 secondary with 5,510, both 2025; 40,949 students at institutions here for 2025; 3,730 residents in applied higher education and 13,240 at university level; total area 2,327 hectares, land 2,185; density 5,979 against a national average of 536; one woonplaats, 10 wijken and 54 buurten; 115,442 residents in 1995, a rise of 14,886.
Its own entry: 130,302 residents on 1 January 2026, 26 fewer than the national figure for the same date, both kept; 23.27 square kilometres, 21.91 of land and 1.36 of water, against 21.85 of land nationally, both kept; a published density of 5,947 against the national source's 5,979, both kept; mayor Peter Heijkoop since 19 September 2024; city rights 1266; more than 1,250 national monuments; of all cities above a hundred thousand residents, by far the smallest area.
Leiden University, founded in 1575, with the exact date given as 8 February 1575 on the Julian calendar, by Willem van Oranje; described as the oldest university in the Netherlands; more than 34,000 students enrolled as of 2021; 5,848 staff; seven faculties.
On 12 January 1807 at a quarter past four in the afternoon a boat carrying gunpowder from Haarlem to Delft exploded in the city. The load is recorded as 37,000 Hollandse ponden, given in the same source as 17,760 kilograms. 151 people were killed, more than two thousand injured, and about 220 dwellings destroyed or condemned.
Dividing 17,760 kilograms by 37,000 ponden gives 0.48 kilograms to the pond. The source did that conversion itself; this page has only performed the division to recover the factor, and it uses no other value for the Hollandse pond anywhere.
A motte castle at the confluence of two arms of the Rhine, in the middle of the old city. No construction date was read at source and none is stated here.
Modern Age Coders has no connection to the municipality, the university or any school named here and claims none. The 1807 casualty figures are quoted because they are part of the record this page reads, and they are quoted exactly rather than rounded.
One historical load, three plausible conversion factors, and a spread of nearly two tonnes between the answers.
The learner takes 37,000 pounds and the factor everybody knows, 0.45359237 kilograms, and gets 16,783 kilograms. It is arithmetic anybody can check and it is the wrong answer, because the pound in the record is not the pound in the formula.
The same source gives the load as 17,760 kilograms. Dividing by 37,000 returns 0.48 kilograms to the pond. So the historical Hollandse pond used here is about 5.8 percent heavier than the modern one, and the routine conversion understates the charge by 977 kilograms.
After metrication a Dutch pond was defined as half a kilogram exactly, and a reader who assumed that would get 18,500 kilograms, overstating by 740. Three defensible factors, three answers, and a spread of 1,717 kilograms on a figure that was never in doubt to begin with.
| Assumed factor | Where it comes from | Result | Difference from the source |
|---|---|---|---|
| 0.4536 kg | the modern avoirdupois pound | 16,783 kg | 977 kg too little |
| 0.48 kg | recovered from the source's own two figures | 17,760 kg | the published value |
| 0.5 kg | the metric pond, defined after metrication | 18,500 kg | 740 kg too much |
| none | quoting 37,000 pounds without converting | no kilograms at all | the safest option of the four |
Units are words, and words drift. The pound, the mile, the gallon, the ton, the acre and the horsepower have all meant different quantities in different places and centuries, and a historical document uses the local value of its own day without ever saying so. The danger is not that conversion is hard but that it is easy: the modern factor is in every phone and library, it produces a clean number, and nothing anywhere raises an objection. Three defences work and all are cheap. Store the unit with the value and never the value alone. When a source gives both the original and a conversion, divide to recover the factor it used, and keep that factor beside the record. And when in doubt, quote the original quantity in its original unit rather than a converted number that looks more precise than the evidence. The three results above are arithmetic on figures published in the sources named, and this page uses no factor for the Hollandse pond other than the one its source implies.
Currencies before redenomination, calories against kilojoules, tons long and short and metric, gallons on either side of an ocean, miles nautical and statute: the label survives while the quantity moves. Practised on a load that blew up in this city in 1807.
| Stage | Rule | What it prevents | What it gives you |
|---|---|---|---|
| Bind unit to value | Never store a number without the unit in the same field or record | A quantity converted with the wrong factor | Data that can be checked later |
| Date the unit | Record when and where the measurement was made | A 1807 pound converted at a 2026 rate | The information needed to pick a factor |
| Recover the factor | Where a source gives original and converted, divide and keep the ratio | A silent disagreement between sources | The source's own assumption, in the open |
| Prefer the original | Quote the historical quantity in its own unit when the factor is uncertain | False precision in kilograms | A number the reader can convert themselves |
| Test the conversion | Run a known value through the converter before trusting it on unknowns | A factor typed once and wrong forever | Confidence that survives review |
Two rulers, one marked in centimetres and one an old wooden one in inches, and a table to measure. The two answers are different numbers for the same table. The children work out that the number is meaningless without the ruler, and that writing down only the number loses the more important half.
A quantity type in Python that carries a unit and a date, a converter that refuses to run without both, and the three factors above applied to the 1807 load. Then the stretch: find another quantity in a historical source and work out what its unit would have meant at the time.
The same audit on a spreadsheet at work that mixes units: currencies before and after a redenomination, weights in two systems, energy in calories and joules. Adults very commonly find one column whose unit was never written down and is now known only by whoever built it.
The population, household, area, school, university and 1807 figures come from the offices and entries named beside them. The 0.48 kilograms to the pond is recovered by dividing two figures the source publishes together, and the 16,783 and 18,500 kilogram results are this page applying two other stated factors to the same published load.
The starting rung is decided in the free hour, and the wijk on the address plays no part.
Children measure one table twice and find the number is useless on its own.
Coding for KidsPython and AI for KidsLearners store a value with its unit and see what breaks when the unit is dropped.
Maths Through CodingProblem Solving and Computational Thinking for KidsTeenagers recover a factor from a source and report a range when it is uncertain.
Data Science for TeensPython for TeensAdults audit a live file for a column whose unit exists only in somebody's memory.
AI and ML MasterclassData Analysis CourseBecause the conversion is correct for the pound it assumed, and the record is using a different one.
Ask a tool to turn 37,000 pounds into kilograms and it will return about 16,783 without hesitation, because that is what the word pound means today. The historical source says 17,760, and the gap of 977 kilograms comes entirely from a definition that changed while the word did not. A model reading the number has nothing to work with except the word, and the word is the part that is stable and misleading at once.
Which is why the learner builds the quantity type that carries a unit and a date and refuses to convert without them. That is a small amount of code enforcing a large amount of discipline, and the discipline transfers immediately: to currencies before a redenomination, to tons of three different sizes, to any figure that crossed a border or a century before reaching the spreadsheet. A thirteen-year-old in the Merenwijk who has recovered a factor from a source will ask, at twenty-three, which pound, which dollar, which ton. Tools will keep converting faithfully. Knowing what to convert from is the part a person has to supply.
The case for a Leiden child learning to code in 2026 is therefore not about history. It is that a unit is a word with a definition attached somewhere else, that the definition moves while the word stays, and that the cheapest way to learn it permanently is on a number from this city that will not convert cleanly. The longer argument is in why writing code still repays a child in 2026.
Leiden fits 130,328 people onto twenty-two square kilometres, so nothing is far. What is scarce here is space and time rather than distance, and a class that needs no room and no journey suits that.
The lesson happens at the kitchen table in the Stevenshof, the Merenwijk or the old centre at one fixed hour a week.
Instruction is in English. Groep, havo, vwo and profielkeuze are used as the school uses them, and nothing is translated in either direction.
A demonstration of what the learner can genuinely do, a course selected on the strength of it, and a slot in the week. None of that requires a card.
Two learners at the same stage work together whichever wijk they live in, and two at different stages do not.
Two lessons a week at one repeating slot, eight in most months. Leiden takes its school holidays with regio Midden along with the rest of Zuid-Holland, and weeks away go into the plan first.
Because only the Netherlands adjusts for summer time, the teacher sits three and a half hours in front for part of the year and four and a half for the rest. Late afternoons and early evenings overlap comfortably, and Saturday and Sunday are open throughout.
A city of students where the children are outnumbered
Only 14,836 residents are under fifteen, 11 percent, while 23,428 are between fifteen and twenty-five. A child growing up here is in a minority, and the group of five to ten that this class forms is drawn from the whole country rather than from one street, which for some families is exactly the point.
Published here rather than saved for a phone call.
A complete lesson with a real task, a level and a named next course.
Per month, normally eight lessons, five to ten learners placed by ability.
Per month, normally eight lessons, one learner with one teacher.
One international rate applies, quoted in dollars and never in euros, so every address in the city sees the same figure. Payment follows the free lesson rather than preceding it and goes over WhatsApp once a course and a time are agreed. Pausing, changing plan and missing a week are described on the pricing page.
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
The first task might be two rulers and one table, a quantity type in Python that will not convert without a date, or a column at work whose unit lives only in the memory of whoever built it.
The city, its university, its records, the teaching and the terms.
Because a record from this city shows the problem cleanly. On 12 January 1807 a boat carrying 37,000 Hollandse ponden of gunpowder exploded here, and the same source gives that load as 17,760 kilograms, which implies 0.48 kilograms to the pond. Convert with the modern pound of 0.4536 and you get 16,783, understating by 977 kilograms; assume the metric pond of half a kilogram and you get 18,500, overstating by 740. Building the converter that asks which pound is the project on this page.
Its own entry describes it that way, and gives the founding as 1575, on 8 February by the Julian calendar, by Willem van Oranje. That is a properly formed claim with a set, a measure and a date, which is more than many superlatives manage.
All of it. Leiden is a single woonplaats divided into 10 wijken and 54 buurten across twenty-two square kilometres of land, and the class reaches every one of them at the same hour and the same fee.
It is not. English is the working language of the class throughout. Four Dutch terms are deliberately untouched, groep and havo and vwo and profielkeuze, because those are what appears on a real timetable. No Dutch-medium version of the course is offered.
Dutch summer time leaves a gap of three and a half hours to the teacher and Dutch winter time a gap of four and a half, since Indian clocks are fixed all year. In practice anything from the close of the school day until mid-evening is workable, along with the entire weekend, and a single recurring time is chosen during the free lesson and then kept.
Two counts answer two questions and this page adds neither to the other. The municipality reports 40,949 students at institutions here for 2025, while 3,730 residents are registered in applied higher education and 13,240 at university level. The university separately reported more than 34,000 enrolled as of 2021. Studying somewhere and living somewhere are different facts.
It is the densest municipality in this series, at a published 5,979 residents to the square kilometre against a national average of 536, and its own entry says that of all Dutch cities above a hundred thousand people it has by far the smallest area. It also holds more than 1,250 national monuments, which is part of why it cannot spread.
No, and none is claimed near the Burcht, at the Bio Science Park or anywhere in the Netherlands. Lessons are live online and need a laptop or desktop, working audio, a current browser and a stable connection. The telephone number on this page is Indian and is described as such.
The first lesson is free. Group tuition is USD 100 a month for two live lessons a week, normally eight in the month, in a group of five to ten. Private tuition is USD 150 a month, one learner with one teacher at the same frequency. Course, format, recurring time and availability are confirmed before payment.
Between five and ten, matched on level, pace and goal rather than on age, school or wijk. Private tuition is one learner and one teacher. If no group at the right level is running, the family can take private tuition or wait for the next one to form.
South along the line are The Hague and Zoetermeer, and Leiden sits in Zuid-Holland, whose page is about a region nobody drew a boundary for. The parent of the whole series is the Netherlands coding hub. Anyone whose real target is a trained model, not a working program, has two other places to begin: AI and machine learning classes in the Netherlands and the AI and Python Academy.