What are the best coding classes in the Western Isles?
Na h-Eileanan Siar, the Western Isles or Outer Hebrides, had about 26,200 residents in roughly 12,700 households at the 2022 census, at just 8.6 people per square kilometre. Stornoway on Lewis is the only sizeable town, and the rest of the population is spread across Lewis, Harris, North Uist, Benbecula, South Uist and Barra. For islands, live online lessons are the natural fit: our teachers teach from India on video, and a free first lesson sets each learner's stage, from P1 to S6 or adult. Learners from 6 up to 67 take coding, Python or maths, either alone with a teacher or with five to ten others at their level. The island project uses Stornoway's long weather record. Beyond that free lesson, island families pay USD 100 a month for a group place or USD 150 for individual teaching.
The Met Office publishes monthly records from its Stornoway station, at latitude 58.2 degrees north, going back to 1873, with sunshine hours from 1929. Many people would guess that June, when the days are longest, is the sunniest month in the Outer Hebrides. The record says otherwise. But hours of sunshine are only half the story, because a month can only have as much sunshine as it has daylight. This page's project works out, in Python, the most sunshine each month could possibly have at Stornoway, compares it with what was measured, and finds that the fairest answer and the obvious answer are not the same question.
Facts last verified 26 September 2026. Teaching is online; no Na h-Eileanan Siar branch is claimed.
A P2 pupil on Barra, a P6 in Stornoway, an S4 on Benbecula thinking about National 5, and an adult on Harris who works with data. These are their usual first courses, each after a free lesson.

Scratch projects from the first click, including weather and day-and-night games.
See the syllabus
Percentages, rates and graphs made real by coding them with real data.
See the syllabus
Complete Python for teenagers, including reading data files and plotting results.
See the syllabus
Data analysis for adults, from spreadsheets to Python and fair comparisons.
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 islands-wide count is from the first 2022 census release, which NRS rounds to hundreds. Settlement figures are NRS estimates for mid-2020; only four places pass 500 people.
| Locality (as NRS names it) | Residents |
|---|---|
| Steòrnabhagh (Stornoway) | 4,800 |
| Margaidh Ùr, Lacasdal and Bruach Màiri (Newmarket, Laxdale and Marybank) | 1,610 |
| Sanndabhaig (Sandwick) | 870 |
| Baile a'Mhanaich (Balivanich) | 510 |
With 8.6 residents per square kilometre, the Western Isles are far more thinly peopled than Scotland as a whole, where the average is 69.8. The islands skew older than Scotland: by our sums of the census age bands, 26.3 per cent of islanders are 65 or over (Scotland 20.1) and 14.1 per cent are under 15 (Scotland 15.3). Comhairle nan Eilean Siar sets school terms, which we have not read; each family tells us its own dates.
See the Highlands and Argyll and Bute. For qualifications: National 5 Maths and Higher Computing Science.
More than ninety years of sunshine, one day-length formula, and a fair comparison.
The learner downloads the Stornoway file, a plain text table of monthly readings, and writes Python to read it. That alone teaches a lot: some months are missing and marked with dashes, some are provisional, and some are flagged with a # because an automatic sensor replaced the old Campbell-Stokes glass-ball recorder in September 2002. To keep the comparison fair, the learner averages each calendar month over 1991 to 2020 and leaves provisional months out. Then comes the key step: for every day of the year, compute the time from sunrise to sunset at latitude 58.2 degrees, and add them up month by month. That is the most sunshine the sky could possibly give.
| Month | Measured hours | Possible hours | Share of possible |
|---|---|---|---|
| March | 100.7 | 362.5 | 27.8 per cent |
| April | 147.3 | 429.8 | 34.3 per cent |
| May | 193.1 | 518.9 | 37.2 per cent |
| June | 149.5 | 543.4 | 27.5 per cent |
| July | 126.7 | 540.8 | 23.4 per cent |
| August | 123.5 | 472.7 | 26.1 per cent |
| December | 25.6 | 201.9 | 12.7 per cent |
May wins on both counts. It averages 193.1 hours of measured sunshine, far ahead of June's 149.5, even though June offers more possible hours, 543.4 against 518.9. As a share of what was possible, May reaches 37.2 per cent and June only 27.5. July is even cloudier by share, at 23.4 per cent, despite nearly the longest days of the year. At the dark end, December averages 25.6 hours, about an eighth of what the sky could give. The single sunniest month in the whole record is May 1994, with 294.1 hours; the dullest is December 2024, with just 6.8.
Why the share matters: comparing raw hours between June and December mixes two things, the weather and the length of the day. Dividing by the possible hours separates them, and that trick, dividing a count by its opportunity, runs through all good data work, from goals per match to reviews per sale. One caution the learner must keep: because the recording instrument changed in 2002, comparing decades across that switch mixes weather with equipment, so we compare months within the same period rather than across it.
Chart the monthly sunshine hours in a spreadsheet or Scratch, then colour each bar by how long the days are.
Read the Stornoway file in Python, skip missing months, and average each month over thirty years.
Code the day-length formula, compute possible sunshine, and rank months by share instead of raw hours.
The sunshine figures are the Met Office's. The possible hours come from our own day-length calculation, a standard approximation that ignores hills, horizon and the recorder's blind spots at very low sun, so treat the shares as a fair comparison between months, not an exact percentage.
What the Met Office file itself states.
| File detail | What it says |
|---|---|
| Position | Latitude 58.214, longitude -6.318, 15 metres above mean sea level |
| Measurements | Monthly maximum and minimum temperature, air frost days, rain and sunshine |
| Start | Temperatures and rain from 1873; sunshine from 1929 |
| Instruments | Campbell-Stokes recorder, then an automatic sensor marked # (from September 2002 in the file) |
| Flags | Estimated values marked *, missing months marked ---, recent months marked provisional |
Long, messy, honest records like this one are what real data science is built on: weather apps, crop planning, solar panel forecasts, flight planning and climate research all start by reading such a file correctly. A pupil in Stornoway or on the Uists who has turned decades of numbers into a fair answer has done the job professional analysts do every day.
We have no connection with the Met Office or Comhairle nan Eilean Siar. The data belongs to the Met Office; the day-length model, the shares and any mistakes are ours.
The stages are a rough guide; the free lesson decides where to begin.
Block coding with days, nights, seasons and simple charts.
Scratch Coding for KidsCoding for KidsTyped Python with averages, percentages and graphs.
Maths Through CodingPython and AI for KidsReading, cleaning and analysing data beside National 5, Higher and Advanced Higher courses.
Python for TeensHigh School MathematicsPython and data analysis for adults, with fair comparisons built in.
Data Analysis CoursePython MasterclassA correct chart can still answer the wrong question.
Hand a chatbot the Stornoway file and ask for the sunniest month and it will usually add up hours and report a winner. Whether it divides by daylight, skips provisional months or notices the change of instrument depends entirely on whether someone thought to ask.
A Western Isles learner who has built the possible-sunshine column knows to question what is being compared before trusting the chart. That habit is worth more than any single answer an AI can produce.
So young people in the Western Isles should still learn to code in 2026: to know which question the numbers are really answering. The longer argument is in why teenagers should still learn to code in 2026.
On islands, an evening coding club is rarely an option. A video lesson at home is.
Lewis, Harris, the Uists or Barra: a laptop and a reliable connection are all that is needed.
Our teachers talk in P and S stages and name National 5, Higher and Advanced Higher just as island teachers do; lessons are in English.
A proper lesson at no cost, then a plain recommendation.
Each group has five to ten learners working at one stage, joining from all over.
Two lessons a week in term; the holidays are breaks.
Your booked UK time stays put through the clock changes; teachers in India time adjust.
Why island learners join wider groups
With so few learners at any one stage on each island, a local group is not realistic. Grouping by stage across a wider pool gives a pupil in Sandwick or on Benbecula a class that fits.
Stornoway or Barra, the fee is the same, matching what we charge in every country outside India.
One complete lesson free, then honest advice.
About eight lessons a month in a group of five to ten.
About eight lessons a month, one learner and one teacher.
Fees are in US dollars, and there is no sterling price. Payment starts only after the free lesson, once a course and a weekly time are agreed; the pricing page explains holidays, missed lessons and switching formats.
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
Let us know which island you are on, the learner's age or stage, and their interests. We might open with a Scratch game, a Python chart, or the Stornoway sunshine project.
The islands, the sunshine project and practical matters.
The census of 2022 found roughly 26,200 residents and 12,700 households in Na h-Eileanan Siar, after NRS rounding.
Stornoway, with 4,800 people in the NRS mid-2020 estimates, followed by the Newmarket, Laxdale and Marybank locality with 1,610.
Learners read the Met Office Stornoway record in Python, compute how much sunshine each month could possibly have at 58.2 degrees north, and find May is sunniest both in hours and as a share of possible sunshine.
On 1991 to 2020 averages, yes: 193.1 hours in May against 149.5 in June, or 37.2 per cent of possible sunshine against 27.5.
Our day-length model gives about 18 hours 15 minutes from sunrise to sunset at midsummer, and about 6 hours 24 minutes at midwinter.
Yes. Every lesson is live on video, so a pupil on Barra learns exactly as one in Stornoway does, as long as the connection holds a video call.
Yes, and Higher Maths and Computing Science. We aim for real understanding and never promise grades.
Every age from 6 to 67, from block coding for young children to Python and data for adults.
Nothing for the opening lesson. After it, USD 100 a month buys a group place and USD 150 a month buys one-to-one teaching.
They do. Your school sets the dates; pass them on and we keep those weeks free.
Visit the Highlands, Argyll and Bute and Inverness, or see every council on the Scotland page. The UK hub covers the rest.