3 Code Snippets that Changed History

Three code snippets which I think are truly fascinating and have changed the world in recent history.

I don’t know about you, but back in school when we would study History it was the history of civilizations. From Alexander the Great to the rise and fall of the British Empire, I learned all there was about great leaders of the past and how each era impacted history.

But the inventors who really changed the way we live were just names to memorize in Science class. Graham Bell invented the telephone in 1876. Thomas Edison built the first lightbulb in 1879. The Wright Brothers pioneered aviation in 1903. All fascinating people that each deserved a class of their own.

However in recent history, some big defining moments that have changed us aren’t even physical inventions, but just a few lines of code. While there are so many that have impacted our reality, three in particular stood out to me.

1. Apollo 11’s BAILOUT Code (1969)

The BAILOUT code built in the the Apollo Guidance Computer would get triggered if there was a risk of running out of space. By scheduling less important operations, it would keep more critical processes up and running.

Interestingly, it was triggered 3 times before Neil Armstrong safely landed and famously said, “the Eagle has landed,” without him even knowing.

2. Bitcoin (2009)

This piece of code is not only why Bitcoin exists, but it’s also the reason why millions trust it. It makes the chances of somebody attacking and taking over the network extremely unlikely.

This code essentially gave birth to the era of cryptocurrency.

3. Google’s PageRank Algorithm (1996)

Google’s PageRank algorithm to “organize the world’s information” put it on the map. Nobody could’ve imagined the way it would revolutionize the way we browse the internet and the giant of a company it would soon become. Today Google is the world’s 3rd most valuable company at $315.5 billion.

All because of a search algorithm. Imagine that…

If you found this interesting, check out other great code snippets in history at:




Creator of thiscodeworks.com \n Follow me @mishkaorakzai on Twitter. I write at mishka.codes

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


Creator of thiscodeworks.com \n Follow me @mishkaorakzai on Twitter. I write at mishka.codes

More from Medium

C++ | Making simple calculator — Beginner e

Introduction to C Programming

Problem-Solving Through Programming In C

c compiler

PyCharm Run and Debug