Skip to content
Home/Oman/Madha
Madha, Musandam

Coding classes in Madha where being inside the border is not being in the country

What are the best coding classes in Madha?

Madha is Omani land completely surrounded by the UAE, and inside Madha sits Nahwa, which is Sharjah. Draw one boundary and test whether a point falls within it and you will put 302 people in the wrong country without any warning. From age 6 to age 67 we teach coding, Python, AI and mathematics online. There is no fee for the first lesson. From then on, group tuition runs at USD 100 a month and one-to-one at USD 150.

Madha is an exclave of Oman inside the UAE that itself contains a piece of the UAE. It is a doughnut, and it is the only place in this whole series where the data problem is not a metaphor for the geography but literally is the geography.

Facts last verified 23 August 2026. Teaching is online; no Madha branch is claimed.

Course picks

Learn that a boundary can be more than one loop

Four routes from cutting a hole in a paper shape to writing containment tests that know about interior rings.

Browse the course atlas for more than one hundred options and use the coding roadmap to check prerequisites.

The four we are known for

Python, AI, vibe coding and agentic coding

These run underneath everything above. Every one is live and online, placed by ability rather than by age, and the first class is free.

Madha today

A country inside a country inside a country

Nearly every dataset assumes a territory is one connected shape with one edge. Madha is a standing refutation of that on both counts.

Omani land with no Omani border

Madha is an exclave of Oman entirely surrounded by the United Arab Emirates. Nothing about it touches the rest of the country, so any calculation that assumes national territory is contiguous has already failed before it starts.

A piece of Sharjah in the middle

Nahwa forms part of the Emirate of Sharjah and sits inside Madha as a counter-enclave, a second-order enclave. The Omani boundary here is a ring with another ring inside it, and the inner one is not Oman.

Administratively part of Musandam

Madha is governed as part of the Musandam Governorate, which is itself separated from the rest of Oman. A wilayat detached from a governorate that is detached from the country is three levels of the same assumption breaking at once.

Inside the outline and inside the territory are different questions

A point-in-polygon test answers whether something falls within a line. Membership of a territory asks whether it belongs. Those two agree for almost every place on earth, which is exactly why nobody writes the code that tells them apart, and here they disagree for 4.40 square kilometres.

Verified local facts

Madha facts with a trail behind them

Each claim traced, including one the sources leave unresolved.

An exclave of Oman

Madha is recorded as an exclave of Oman entirely surrounded by the United Arab Emirates, lying within Sharjah while governed as part of Musandam. Both halves of that sentence are true simultaneously, which is the whole difficulty.

Ninety three point three four square kilometres

The published total area is 93.34 km2, given as 36.04 sq mi. The page uses it as published and does not attempt to reconcile it against anything.

Nahwa, four point four square kilometres

Nahwa is part of Sharjah and is a counter-enclave, a second-order enclave, inside Madha, with an area of 4.40 km2. That is the hole in the doughnut, and it has a size.

Three hundred and two people

Nahwa is recorded with a population of 302 at 2015. Those are the people a single-ring containment test puts in the wrong country.

Four thousand three hundred and six

Madha itself is recorded at 4,306 for 2022. A separate database gives 4,492 for 2020; different years, so both can stand, and neither is adopted here as the figure.

A border drawn by a question

The boundaries were settled around seventy years ago when the elders of Madha were asked about tribal allegiance, and while neighbouring villages went to what are now Sharjah, Fujairah and Ras Al Khaimah, the Madhanis were swayed toward the sultan of Oman. Borders made by asking people produce shapes no algorithm would design.

Modern Age Coders has no association with Madha, with Nahwa or with any authority named above, and claims none. This page exists because the wilayat is a working physical model of a data structure that most software gets wrong.

Signature project

Three hundred and two people in the wrong country

One boundary, drawn correctly, tested correctly, producing an answer that is wrong about an area the size of a small town.

1. Take the published shape

Madha at 93.34 square kilometres, with Nahwa at 4.40 square kilometres somewhere inside it. Both figures are published. The relationship between them is published too: one contains the other and they belong to different countries.

2. Test whether a point is in Oman

The obvious implementation checks whether the point falls inside Madha's outline. For every location on earth except this one and a handful of others, that is the same question as whether the point is in Oman.

3. Count what it got wrong

Every point in Nahwa passes. That is 4.40 square kilometres and 302 people assigned to Oman, which is 4.9 per cent of the Omani land inside that outline. A headcount inside the outer ring comes to 4,608 against a census figure of 4,306, overstating by 7.0 per cent.

One outline, read as one ring and as two
MeasureOuter ring onlyBoth ringsWhat the difference is
Land counted as Oman93.34 km288.94 km2Nahwa, 4.40 km2
Error as a share of Omani landn/an/a4.9 per cent
People counted as in Oman4,6084,306302 residents of Nahwa
Error as a share of the censusn/an/a7.0 per cent
Points that fail the testnoneall of NahwaNo warning either way
Does the source resolve it?nonoSee the note below

The published area does not say which of the two it is

Nothing found for this page states whether the 93.34 square kilometres includes Nahwa or excludes it. If it includes it, Omani land is 88.94 and the outer ring is 93.34. If it excludes it, Omani land is 93.34 and the outer ring is 97.74. The two readings differ by exactly the disputed area, and a figure that cannot tell you which of those it means is a figure you cannot add to anything. Every number above was computed before this was written, from the two published areas.

Reliable pipeline

Model the hole, then test membership rather than containment

Five habits that keep a doughnut from being read as a disc.

Working with a boundary that has an inside and an inside-out
StageRuleWhat it preventsWhat it gives you
RepresentStore interior rings, not just the outlineA hole that does not exist in the dataA shape that matches the ground
AskTest membership of a territory, not position in a lineTwo different questions treated as oneThe question you meant
SubtractSay whether an area is gross or net of its holesA figure nobody can add upA number with a definition
ProbeTest with a point inside the holeA suite that never enters NahwaThe case that separates the two answers
DistrustTreat contiguity as an assumption, not a factCode that breaks on exclavesSomething that survives real geography

For younger learners

A paper ring with a smaller ring cut out of the middle, and counters dropped onto it. The child sorts which counters are on the paper and which fell through the hole. It settles the idea in about a minute with no screen.

For teenagers

The two published areas in Python, computing land and headcount both ways and printing the gap. The learner then writes the test case that places a point inside Nahwa and watches the single-ring version return the wrong country.

For adults

Geometries carry their interior rings, areas state whether they are gross or net, membership is resolved against an authority rather than a shape, and contiguity is never assumed for a national boundary.

The exclave status, the area of 93.34 km2 given as 36.04 sq mi, Nahwa at 4.40 km2 and 302 people, Madha at 4,306 in 2022, the governance under Musandam and the tribal allegiance origin of the boundary are all published. Whether 93.34 includes or excludes Nahwa is not, and the page treats that as unresolved rather than choosing. Every derived figure here is arithmetic on those two published areas.

Learning ladder

From a paper ring with a hole to geometry that models the hole

One free class is usually enough to find the step that will move a learner furthest, whatever their year group says.

Ages 6 to 10

Shapes with holes in them

Children sort what is on the ring from what fell through it.

Early Math FoundationsKids Coding Blocks
Ages 11 to 13

Area, minus the middle

Learners compute a shape twice and find the difference has a name.

Problem Solving and Computational ThinkingPython and AI for Kids
Ages 14 to 18

Containment against membership

Teenagers write the test that puts a point inside the hole.

Python for TeensData Science for Teens
Ages 18 to 67

Geometry that survives real borders

Adults model interior rings and stop assuming territory is connected.

Python ProgrammingMySQL Database
Delivery

Live classes in a wilayat you reach by leaving the country

Getting from Madha to anywhere else in Oman means crossing the UAE, which makes the case for teaching that arrives over a connection about as plainly as it can be made.

Every road out crosses a border

There is no route from here to the rest of Oman that stays in Oman. A lesson delivered down a connection is the only version that does not involve somebody else's territory.

The first lesson is free, entirely

A full class with a genuine task, finishing on a specific recommendation. We take no card details to arrange it and ask for no decision until somebody has watched us teach.

Groups of five to eight, set by ability

Who joins a group depends on what a learner can already do and what they want next. Which side of which boundary they live on plays no part, which in Madha is not a small claim.

When a group is the wrong shape

One teacher and one learner, which is what a fixed examination date or a single stubborn weakness usually calls for.

Roughly eight sessions a month

Twice weekly, at a time chosen once at enrolment. Border crossings and work patterns move around; the slot does not have to.

Ninety minutes of difference, settled once

Oman runs that far behind India, and it is dealt with at the start along with school terms, working hours, examination weeks and Ramadan.

The wrong answer is invisible unless somebody stands in the hole

A learner testing points around Madha gets correct results everywhere they think to look. What breaks it open is a teacher who names a village inside the wilayat and asks which country it is in, and then lets the learner find out that their code has an opinion about it.

Fees

One free class, then group or private tuition

Pricing is in USD and is confirmed with the selected format.

First classUSD 0

Ability task, goal review and starting recommendation.

Group tuitionUSD 100

Per month, normally eight lessons, five to eight learners.

Private tuitionUSD 150

Per month, normally eight lessons, one student and one teacher.

Reviews

What families and learners say

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

Free placement class

Tell us the learner's level and the boundary that will not behave

The first task might be a paper ring with a hole in it, a Python containment test that finally fails, or a real map layer at work where somewhere is filed under the wrong owner.

+968

FAQ

Madha coding class questions

The wilayat, the teaching and the terms of service, taken one at a time.

Is Madha really an exclave with an enclave inside it?

Yes. Madha is an exclave of Oman entirely surrounded by the United Arab Emirates and governed as part of Musandam, and Nahwa, which belongs to Sharjah, sits inside Madha as a counter-enclave. Both are published, along with the areas of 93.34 km2 and 4.40 km2 and the populations of 4,306 and 302.

Why does the page not give a single land area for Oman here?

Because the sources do not resolve it. Nothing found states whether the 93.34 square kilometres includes Nahwa or excludes it. If it includes it, Omani land is 88.94; if it excludes it, 93.34. Choosing one quietly would be exactly the failure the page is about, so both readings are stated and neither is adopted.

Is there a Modern Age Coders centre in Madha?

No. No premises are claimed in Madha, in Musandam or anywhere else. Classes are live online and need a laptop or desktop, working audio, a current browser and a stable connection. The page describes where the service reaches, not a building.

What does a correct implementation look like?

Store the geometry with its interior ring, so the shape in the data has the same hole the ground does. Then resolve membership against an authority rather than inferring it from a shape at all, and keep a test case whose point sits inside Nahwa so the difference between the two approaches stays visible.

Do you teach adults in Madha as well as school students?

Yes, to an upper limit of 67. The adult track covers Python, databases and analytics. Anyone maintaining territory, delivery zone, franchise or coverage boundaries has met some version of this, usually the week a customer turned out to be in a hole nobody had modelled. Real data of your own works best where it is yours to share.

What comes out of this project?

A geometry that carries its interior rings, an area figure that states whether it is gross or net, a membership test that asks the right question, and a test case sitting inside the hole. Those four keep working in any mapping stack.

How much do Madha coding classes cost?

The first class is free. Standard group tuition is USD 100 per month for two live lessons each week, normally eight lessons monthly. Standard private tuition is USD 150 per month for one learner with one teacher on the same usual frequency. Course, format, recurring time and availability are confirmed before payment.

What is the class size for Madha learners?

A group normally contains five to eight compatible learners. Compatibility includes current level, learning pace and objective, not age alone. Private tuition is one learner with one teacher. If no suitable group is ready, a learner can discuss private tuition or wait for an appropriate cohort.

How are Madha class times arranged?

Oman is one and a half hours behind India. The teacher and learner agree a recurring time before payment, generally for two live lessons each week. Friday and Saturday options may be discussed subject to availability. School, work and travel schedules, examinations and Ramadan routines should be mentioned before confirmation.

What happens in the free Madha class?

We work out what the learner is trying to become able to do and set one task pitched there. A child sorts counters on a paper ring with a hole cut out of it. A teenager computes the land and the headcount both ways and explains the gap. An adult is asked whether any boundary they maintain has a hole in it that the data does not know about. It ends with a named course, a chosen format, an agreed time and a stated fee in USD, and no charge for the hour itself.

Explore Oman

The rest of Musandam

The Oman coding hub carries national delivery, fees and the full course list. In the same governorate, Khasab covers map projection distorting area and Daba Al Bayah one town name shared by three governments.

Free Madha classCall +91 91233 66161

Keep exploring Modern Age Coders

Coding classes in nearby places

Learn more

Free resources

From the blog

Start here