Skip to content
Home Blog Web Design Programming Languages: What Would Tolkien Say?

Programming Languages: What Would Tolkien Say?

  • Web Design
Blueprint Digital
Blueprint Digital

Insights from the Blueprint Digital team.

Languages can be spoken. Languages can be signed. Languages can be written. There are romance languages, and there are Germanic languages. We use language to compose stories and shape fantastical worlds that never existed. We use other sorts of languages to create video games and build virtual worlds. You might stumble upon these virtual worlds each time you use a SmartPhone or personal computer. Each time you visit a website, you enter a province of the world wide web, a world built by languages — programming languages.

No One Quotes Programming Languages…

It doesn’t seem fair, however, that programming languages which build web applications receive so little credit yet they contribute so much. Jewelers fashion necklaces, bracelets, and broaches that read “Je t’aime”, but never a locket that reads “<?php for($i;$i><5;$i++);?>” Put simply, programming languages are ugly. They tell no stories and convey no emotion. So I will make PHP beautiful.

… But People Quote J.R.R. Tolkien

J.R.R. Tolkien wrote with such eloquence that his tales of hobbits, elves, and dwarves will endure for ages. I shall translate a famous passage of his masterpiece, The Lord of the Rings into simple PHP statements, to bring splendor to the wretchedness of PHP.

Tolkien:
“Three Rings for the Elven-kings under the sky,

Seven for the Dwarf-lords in their halls of stone,

Nine for Mortal Men doomed to die,

One for the Dark Lord on his dark throne…
…
One Ring to rule them all,
One Ring to find them,

One Ring to bring them all
and in the darkness bind them”


PHP:

<?php
$great_rings = 20;
foreach($elves as $elf) {
	$elf['status'] = 'king';
	$elf['under_the_sky'] = true;
	$great_rings--;
}
foreach($dwarves as $dwarf) {
	$dwarf['status'] = 'lord';
	$dwarf['in_stone_halls'] = true;
	$great_rings--;
}
foreach($men as $man) {
	$man['status'] = 'mortal';
	if($man['status'] == 'mortal')  { $man['doomed_to_die'] = true; }
	$great_rings--;
}
$one_ring = new ring();
$one_ring->rule('all');
$one_ring->find('them');
$one_ring->bring('all');
if($in_darkness)  { $one_ring->bind('them'); }
?>

Languages Build Worlds

Although PHP does not embrace the same poise as Tolkien’s literary masterpiece, it still could fashion a small realm of elves and magic rings on the world wide web. Programming languages can create many worlds that a user might seek, from a simple storage space to online portfolio galleries.

Ready to Dominate Online and Grow Your Business?

Schedule time to connect with Blueprint about your online goals, or request a free review of marketing campaigns.

Related Posts

The Hidden Cost of Poor Communication in Marketing Projects

The Hidden Cost of Poor Communication in Marketing Projects

"I thought they meant…" Few sentences create more trouble for a marketing project than that one. It might come up after a designer delivers the wrong concept, when a client expected something different from the agreed scope, or when a team discovers two stakeholders have been working toward different outcomes. By the time someone says[...]
Food & Beverage Marketing: How Ingredient Buyers Decide

Food & Beverage Marketing: How Ingredient Buyers Decide

Choosing an ingredient supplier is one of the higher-stakes decisions a food or beverage company makes. It runs through several people over a cycle that can stretch for months, and the deciding factor is usually how much risk each option carries for a business that cannot afford a line stoppage or a recall. For marketing[...]
How to Build a B2B Lead Nurturing Program That Closes Deals

How to Build a B2B Lead Nurturing Program That Closes Deals

Most B2B marketing teams are better at generating leads than keeping them warm. A form gets filled out, the lead lands in the CRM, and nothing happens until a salesperson gets around to it, by which point the buyer has moved on or gone quiet. In a market where the average deal takes months of[...]
Previous
Next

Partner with BLUEPRINT to reach your online goals, grow your business and reshape your story.

Get in touch with BLUEPRINT

Reach out to request a discovery call, a free campaign review, or for all other inquiries.

Subscribe to our newsletter