What are the best coding classes in Dumfries and Galloway?
Dumfries and Galloway is a single, sprawling council area, where Scotland's Census 2022 found about 145,900 people in some 70,600 households, at 22.7 people per square kilometre. Dumfries is by far the largest town, then Stranraer and Annan, with Lockerbie, Dalbeattie, Newton Stewart, Castle Douglas and Kirkcudbright after. Every class runs live over video from India, and learners are grouped by ability, from Primary 1 through S6 and on to adults. We teach coding, Python, data science and maths to everyone between 6 and 67, privately or in small classes of five to ten. The Dumfries and Galloway project looks up at the Galloway sky. Lesson one is free; after that it is USD 100 a month in a group or USD 150 a month one-to-one.
Forestry and Land Scotland says that in 2009 Galloway Forest Park became one of the first places in the world to be named an International Dark Sky Park, and that on a clear night over 7,000 stars and planets are visible with the naked eye. That is a claim a programmer can test. Astronomers have catalogued every star bright enough to see without a telescope, with its brightness and its position. This page's project loads that catalogue into Python, works out which stars ever rise over Galloway and how many are above the horizon at any one moment, and finds that the answer depends entirely on what "visible" is taken to mean.
Facts last verified 26 September 2026. Teaching is online; no Dumfries and Galloway branch is claimed.
A P5 pupil in Castle Douglas who loves the stars, an S2 in Annan starting Python, an S5 in Dumfries working with data, and an adult in Stranraer building new skills. Each begins with a free lesson.

Block coding from a first Scratch game onwards, including night-sky scenes and counting games.
See the syllabus
Typed Python for children, with games, puzzles and first steps with data and AI.
See the syllabus
Real data in Python for teenagers, from loading a catalogue to testing a claim against it.
See the syllabus
Spreadsheets, statistics and SQL, then Python and dashboards, for adults working with real data.
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 syllabusPopulation, households and density come from the 2022 census as first published, in hundreds; the town list is from the NRS mid-2020 locality estimates.
| Locality | Residents | Locality | Residents |
|---|---|---|---|
| Dumfries | 33,470 | Dalbeattie | 4,160 |
| Stranraer | 10,110 | Newton Stewart | 4,030 |
| Annan | 8,760 | Castle Douglas | 4,000 |
| Locharbriggs | 5,610 | Kirkcudbright | 3,350 |
| Lockerbie | 4,190 | Gretna | 3,110 |
At 22.7 residents per square kilometre, the council area is about a third as densely settled as Scotland overall. Our addition of the census age groups gives 14.1 per cent under 15 and 27.1 per cent aged 65 or over, compared with 15.3 and 20.1 per cent for Scotland. Moffat and Lochmaben are the next towns after the table. Dumfries and Galloway Council sets school term dates, which we have not read; we fit breaks around each family's calendar.
Many families look across the Solway to Carlisle and Cumbria. For Scottish exams, see National 5 Computing Science and Higher Computing Science.
A real star catalogue, a few lines of spherical geometry, and a claim that depends on its definition.
The learner downloads the Yale Bright Star Catalogue, which lists the brightness and position of every star bright enough to see without a telescope: 9,096 entries with both values. Astronomers measure brightness in magnitudes, where bigger numbers are fainter, and the usual naked-eye limit under a dark sky is around magnitude 6 to 6.5. First the program counts stars brighter than each magnitude, and a pattern jumps out: each step fainter roughly triples the count, from 174 stars brighter than 3 to 518 brighter than 4, 1,630 brighter than 5 and 5,080 brighter than 6.
| What "visible" means | Stars counted |
|---|---|
| Whole sky, brighter than magnitude 6.5 | 8,404 |
| Every star in the catalogue that ever rises at 55 degrees north | 6,814 |
| Above the horizon at one moment, brighter than 6.5 (average of 24 times) | About 4,074 |
| The same, but at least 10 degrees above the horizon | About 3,387 |
| Above the horizon at one moment, brighter than 6.0 | About 2,433 |
Now the claim. From Galloway, at about 55 degrees north, stars far enough south never rise, so the program keeps only those with a declination above minus 35 degrees: 6,814 catalogue stars. But at any single moment only the half of the sky above you counts. Using a little spherical geometry to work out each star's height, the program finds on average about 4,074 stars brighter than magnitude 6.5 above the horizon at once, and about 3,387 if the murky lowest ten degrees are left out. Seeing over 7,000 would need a different definition: counting over the whole year, including planets, or seeing stars fainter than 6.5 under an exceptional sky.
That is the real lesson. The claim may well be true in the sense its authors intended; our program cannot tell. What it does show is that a number like "over 7,000 visible" means very little until you know over what time, down to what brightness, and from what height above the horizon. Making those choices explicit, and seeing how much each one moves the answer, is exactly what data work is.
Count the stars inside a cardboard tube on a clear night, then multiply up for the whole sky, and discuss why guesses vary so much.
Load the catalogue in Python, count stars brighter than each magnitude, and plot the counts to see the tripling.
Compute each star's altitude for a given time and latitude, average over the night, and write up what "visible" should mean.
The Dark Sky Park facts and the 7,000 figure are Forestry and Land Scotland's. The Bright Star Catalogue is published by the Strasbourg astronomical data centre from Yale's work. Every count on this page is ours, and a different latitude, brightness limit or catalogue would give different numbers.
The Dumfries and Galloway link, from Forestry and Land Scotland.
| Point | The page says |
|---|---|
| Designation | In 2009 Galloway Forest Park became one of the first in the world to be named an International Dark Sky Park. |
| Tier | It was also awarded Gold Tier status. |
| On a clear night | Over 7,000 stars and planets are visible with the naked eye. |
| The Milky Way | Its bright band is usually easy to see arching across the sky. |
Astronomy was one of the first sciences to depend on large catalogues and careful counting, and today's sky surveys produce more data than any other science. The skills on this page, loading a catalogue, applying a threshold, doing geometry on every row and defining terms precisely, are the same ones used in genetics, finance and AI. A Dumfries and Galloway student who has checked a claim about their own sky has done real data science.
We have no connection with Forestry and Land Scotland, the Strasbourg data centre or Dumfries and Galloway Council. Their facts and data are theirs; our analysis and any mistakes are ours.
The free lesson settles where to start. The school stage is a clue, and ability is the answer.
Block coding with counting, sorting and simple night-sky scenes.
Coding for KidsScratch Coding for KidsTyped Python that filters a list by a rule and counts what passes.
Python and AI for KidsMaths Through CodingData science with real catalogues, useful alongside National 5 and Higher courses.
Data Science for TeensPython for TeensSpreadsheets, SQL and Python for adults who need numbers that stand up to questions.
Data Analysis CourseData and AI Analytics for Non-Programmers (Excel, Sheets, Power BI)Numbers without definitions travel easily and mean little.
AI assistants are very good at repeating figures they have read, and a figure like "over 7,000 stars visible" will be repeated widely. What they rarely do, unless asked, is unpack it: at one moment or over a year, down to which brightness, above what height. Our own count gives about 4,074 at one moment, 6,814 over the year, and 8,404 over the whole sky, all from the same catalogue.
A Dumfries and Galloway student who has run those numbers knows to ask what a figure counts before trusting or repeating it. That question is essential for anyone using AI to research anything, from health statistics to school results.
So a young person in Dumfries and Galloway should learn to code in 2026 to find out what a number really counts. The longer argument is in why teenagers should still learn to code in 2026.
Dumfries and Galloway is wide and rural, and a weekly class at the right level can be far from home. Online lessons remove the distance.
A farmhouse near Newton Stewart, a flat in Dumfries, a house in Stranraer. The pupil types the code while the teacher watches the shared screen.
Teachers know where a P7 or an S4 pupil is in the Scottish system, from Primary to National 5, Higher and Advanced Higher, and teach in English.
A real first lesson, then clear advice on level and course. No card details are asked for.
Each class of five to ten shares a level, even if its members live in different countries.
A usual week has two lessons; when the school holidays start, so does our break.
Your slot stays at the same UK time all year; the teacher, on India time several hours ahead, adjusts when the clocks change.
Why groups follow level
Across a council area this large, five learners at one stage who are free on the same evening rarely live near each other. Grouping by level lets a pupil in Moffat or Kirkcudbright join a class that fits.
Stranraer or Gretna, the fee is the same, and it is the fee in every country we teach apart from India.
A full lesson of genuine work, then a suggested level and course.
About eight lessons a month with five to ten learners at one level.
About eight lessons a month, one-to-one.
Prices are set in US dollars, not pounds. Payment only begins after the free lesson has settled which course and which weekly hour; holiday pauses, missed lessons and changing between group and private are explained 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
Give us the pupil's stage or the adult's aim, and one or two interests. A first lesson could be a Scratch night-sky scene, a Python counting program, or the star catalogue on this page.
The council area, the dark sky project and practical details.
The 2022 census put it at about 145,900 usual residents living in some 70,600 households, figures the NRS rounds to hundreds.
By NRS mid-2020 locality estimates: Dumfries 33,470, Stranraer 10,110, Annan 8,760, Locharbriggs 5,610 and Lockerbie 4,190.
Learners use the Yale Bright Star Catalogue in Python to count stars by brightness, work out which rise at Galloway's latitude and how many are up at once, and test the claim that over 7,000 are visible.
By our count from the catalogue, about 4,000 stars brighter than magnitude 6.5 are above the horizon at any moment at 55 degrees north, fewer near the horizon. Other definitions give larger numbers.
Forestry and Land Scotland says Galloway Forest Park became one of the first International Dark Sky Parks in 2009, with Gold Tier status.
No. All lessons are live online, so pupils anywhere in the council area join from home.
Yes: exam support is set out on our National 5 and Higher Computing Science pages. Our aim is understanding, and we make no promise about results.
Anyone from six to sixty-seven: blocks in the early primary years, Python and then data science through secondary, and practical data skills for adults.
The first lesson is free. From then on it is USD 100 monthly in a group or USD 150 monthly for individual lessons.
Yes. Term dates are published by the council, and we arrange pauses once you send yours.