The Twelve Days of Christmas
A 250-year-old carol, two very different performances, and one upcoming TNT song-builder.
Pentatonix sings it with five voices. The Villain Pub sings it with an agenda.
The Twelve Days of Christmas — History of the Carol
“The Twelve Days of Christmas” was first published in 1780 in a British children’s book called Mirth Without Mischief. It was presented there as a memory-and-forfeits game: recite the list correctly in order, or pay a penalty. The melody most people know today was not associated with it until 1909, when English composer Frederic Austin harmonized the tune that had been floating around in various forms since the early 19th century.
The song is a cumulative carol — each new verse adds one gift to a growing list that must be recited in full, from the current day back to the first. By the twelfth verse, a performer has named 184 gifts across the complete recitation. This structure — build up, repeat, extend — is not only a memory challenge; it is also an early and memorable example of a loop with an accumulator, a pattern that appears in nearly every programming language on earth.
The “twelve days” refer to the period between Christmas Day (December 25) and Epiphany (January 6), the traditional end of the Christmas season in the Western church. The gifts themselves — partridges, gold rings, swans, lords-a-leaping — are thought to be purely fanciful rather than symbolic, despite numerous theories to the contrary that circulate every December. The most persistent of these, the “hidden catechism” theory, has been thoroughly examined by folklorists and found to have no historical evidence. The gifts are just gifts. The song is just delightfully impractical.
The cumulative structure made it ideal for parody and reimagining — which is exactly why it has been rewritten hundreds of times, for every conceivable context from regional humor to advertising campaigns to classroom mathematics. Two of those reimaginings are below.
Pentatonix — Five Voices, No Instruments
Pentatonix is an American a cappella group formed in Arlington, Texas in 2011. The five original members — Scott Hoying, Mitch Grassi, Kirstie Maldonado, Avi Kaplan, and Kevin Olusola — came together to compete on NBC’s The Sing-Off Season 3, which they won. Their prize was a $200,000 recording contract with Sony Music.
What distinguishes Pentatonix is not just that they sing without instruments — a cappella groups are common — but how they do it. Kevin Olusola’s beatboxing creates rhythmic and bass textures that most listeners don’t associate with the human voice. The group’s arrangements layer vocal parts in ways that make the ear hear percussion, bass guitar, synthesizer, and strings even though none of those sounds are present. Their production technique treats the voice as a full band.
Their 2012 version of “The Twelve Days of Christmas” became one of their signature recordings and helped establish them as a major force in popular music. It appeared on their first EP and has accumulated hundreds of millions of views across platforms. The arrangement takes the original carol seriously — no parody, no shortcut — and performs all twelve verses with full harmonic treatment, which makes it an exceptional example of how a well-understood structure (the cumulative carol) becomes more impressive, not less, when performed with complete fidelity.
Avi Kaplan left the group in 2017 to pursue a solo career and was replaced by Matt Sallee. Kirstie Maldonado also pursued solo projects before returning. The group continues to perform and record.
How It Should Have Ended — The Villain Pub Version
How It Should Have Ended (HISHE) is a YouTube channel founded in 2005 by Daniel Baxter and Tommy Watson. The premise is simple: animated short films showing alternative endings to popular movies, usually ones that would have resolved the plot far more quickly if the characters had made slightly smarter choices. Their Superman / Batman cafe scenes and their Villain Pub series have become internet classics.
The Villain Pub is a recurring HISHE setting: a tavern where famous movie villains — Thanos, Voldemort, The Joker, and others — gather between their cinematic defeats to commiserate, argue, and occasionally sing. The “Twelve Days of Christmas” Villain Pub episode puts the carol’s cumulative structure to excellent use: the list of gifts is replaced by a list of grievances, schemes, and villain-specific complaints, each one added to the pile as the song progresses. It is simultaneously a parody of the carol, a parody of superhero films, and a demonstration that the cumulative structure is funny precisely because of the repetition.
The humor works for the same reason the original carol works as a classroom tool: you know the pattern, so every addition is both expected (here comes the list again) and surprising (what goes on it this time). The structure creates anticipation. That is a programming concept as much as it is a musical one.
HISHE has over 10 million YouTube subscribers and has produced over 200 videos since 2005. The Villain Pub series is consistently among their most-viewed content.
The TNT Twelve Days Parody App — Now Live
The TNT Twelve Days Parody Sing-Along is complete. Choose one of five genre versions, then reveal the cumulative verse one day at a time — exactly the way the original memory-and-forfeits game was meant to be played. All five versions are driven by a single JavaScript renderer; the only difference between them is the data array each genre supplies.
The five genres are:
The cumulative carol structure — enter at day 12, fall through to day 11,
then 10, all the way to 1 — is a natural model for a switch
statement with deliberate fall-through. That connection is the subject of
Cross Training Concept #4: Conditional Logic — The Switch & Cascade,
which shows the fall-through pattern side by side in JavaScript, Java, and Python 3
and explains why Python’s match/case refuses to cascade at all.
Movie clips are only available in larger viewports.
On some mobile devices, rotating to landscape will allow viewing.
Clip 1 — Pentatonix: The Twelve Days of Christmas (2012)
All twelve verses, five voices, no instruments. A faithful performance of the full cumulative carol that demonstrates what a cappella arrangement can do when the singers treat the structure as a feature rather than a limitation.
Clip 2 — HISHE Villain Pub: Twelve Days of Christmas
The Villain Pub edition: the same cumulative structure, the same relentless list-recitation, but every gift is now a supervillain complaint. A reminder that a good programming pattern is equally at home in a carol, a comedy sketch, and a nested loop.