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

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

Is Lead Generation Worth It for B2B Companies?

Is Lead Generation Worth It for B2B Companies?

Qualified leads are the foundation of B2B revenue, but the cost to generate them keeps climbing. Search competition is stiffer, buyer attention is shorter, and more companies are chasing the same decision-makers. When marketing spend rises and pipeline stays unpredictable, the question of whether lead generation is worth it becomes harder to ignore. For companies[...]
Local SEO for Doctors: Get Found by New Patients

Local SEO for Doctors: Get Found by New Patients

When someone needs a new physician, the search usually starts the same way: a quick lookup for a doctor "near me," followed by a glance at the map, the star ratings, and whoever shows up first. Most of those clicks go to the three practices Google features in the map at the top of the[...]
Digital Marketing for Doctors: Grow Your Practice

Digital Marketing for Doctors: Grow Your Practice

Before a patient ever calls your office, they have usually already searched your name, read a few reviews, compared you to two other practices, and looked at your website on their phone. By the time the phone rings, much of the decision is made. Digital marketing for doctors is the work of being present and[...]
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