Intentar ORO - Gratis
Do The Math - Learn you a Haskell-the spooky, esoteric cult classic of programming languages.
WIRED
|July - August 2024
Learn you a Haskell-the spooky, esoteric cult classic of programming languages. Programming paradigms are mainly divided into "imperative programming" and "functional programming." The dichotomy isn't clear-cut, as a growing number of languages support both styles, but for our purposes it may be enough to say that in imperative programming you write code as a series of steps, line by line, while in functional programming you define mathematical functions and let the machine worry about the steps. In terms of actual functionality and usage, imperative programming is the far more common approach.

In my first job out of college, I was assigned the task of rewriting the autocomplete feature of a search page. The original code, entombed in a decrepit codebase, was a nauseating monstrosity that others wanted no truck with. The plan was to rewrite it in TypeScript-a dialect of JavaScript-drawing on a library that incorporated some handy features from a language called Haskell.
Haskell. It sounded like a good name for a weapon-a well-sharpened blade, like scimitar or katana. The strong German-sounding plosive in its name, as in Nietzsche or Kafka, added a menacing edge. All I really knew about the language was that it was challenging and intended for math PhDs.
The rewrite could be done without knowing Haskell, technically, but I was an overeager graduate with a "challenge accepted" attitude to everything, even when it was absolutely uncalled for. I found a whimsically titled tutorial book –Learn You a Haskell for Great Good! – and spent that winter writing Haskell most evenings after work. It was like learning to program all over again.
Long before Haskell coalesced into a programming language, it was a swarm of theoretical concepts. In 1977, the computer scientist John Backus delivered an influential lecture titled "Can Programming Be Liberated From the Von Neumann Style?" In it, he argued that existing languages were becoming bloated and ineffective. It was a clarion call to evolve "functional programming" from mathematical esoterica to a practical tool.
Esta historia es de la edición July - August 2024 de WIRED.
Suscríbete a Magzter GOLD para acceder a miles de historias premium seleccionadas y a más de 9000 revistas y periódicos.
¿Ya eres suscriptor? Iniciar sesión
MÁS HISTORIAS DE WIRED

WIRED
THE FIGHT OF HER LIFE
Surrogate pregnancy is all the rage in Silicon Valley and beyond. What happens when it goes horribly wrong?
25 mins
November - December 2025

WIRED
SPACE EMPEROR
ELON MUSK CONTROLS THOUSANDS OF INTERNET SATELLITES AND MORE THAN HALF THE WORLD'S ROCKET LAUNCHES. CAN ANYONE STOP HIM?
20 mins
November - December 2025
WIRED
THE IMPROBABLE
Tech billionaire Mike Lynch made probability his life's work, until his wildly unlikely death at sea. Now, many of his friends and associates-and survivors of the disaster-are speaking about what happened for the first time.
25 mins
November - December 2025
WIRED
OUT WITH THE OLD
Introducing WIRED's 2025 Political Power Users-the 22 very online creators, podcasters, and pundits who will blow up the next electoral era.
14 mins
November - December 2025
WIRED
POLITICS GETS WIRED
IT'S BEEN ONE year since Donald Trump took back the White House.
2 mins
November - December 2025

WIRED
FAHRENHEIT 5G
INSIDE THE MIND OF THE MOST PROLIFIC VIOLENCE OF OUR ERA. ANTI-TECHNOLOGY ARSONIST IN AMERICAAND THE CONSPIRACY-DRIVEN POLITICAL
23 mins
November - December 2025

WIRED
KAT'S OUT OF THE BAG
At 26 years old, Kat Abughazaleh thinks she's uniquely qualified for Congress. But running for office is a different sort of influencing.
13 mins
November - December 2025

WIRED
MOV'D BY THE SPIRIT
Whether your chip runs an old computer game or a new DeepSeek model, it'll reward you for speaking its native tongue: assembly.
5 mins
November - December 2025

WIRED
SKELETON CREW
Somewhere out in the countryside, hidden behind a copse of trees, are fields full of dead human bodies. These corpses have been strategically laid out in rows, naked as the day they were born, and left to the mercy of the elements until all that's left of them are bones.
3 mins
November - December 2025

WIRED
QUEEN OF CHIPS
Lisa Su has built AMD into a chipmaking phenom. And as the US-China tech war rages on, she's at the center of it all.
8 mins
November - December 2025
Listen
Translate
Change font size