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
LUCKY SCOOP
HOW A BACKWATER COUNTY IN JIANGSU PROVINCE RAISED AN ARMY OF LIVESTREAMERS AND TURNED ITSELF INTO THE CRYSTAL CAPITAL OF THE WORLD.
11 mins
March / April 2026
WIRED
SCAM.SURVIVE.ESCAPE.EXPOSE.
A SOURCE TRAPPED INSIDE A SOUTHEAST ASIAN SCAM COMPOUND CONTACTED WIRED, DETERMINED TO LEAK HIS CAPTORS SECRETS IN REAL TIME. THEN HE HAD TO MAKE IT OUT ALIVE. THIS IS HIS STORY.
41 mins
March / April 2026
WIRED
THE AI BOYFRIEND BOOM
IN CHINA, IT'S GEN Z WOMEN, NOT MEN, WHO ARE DOMINATING THE MARKET FOR DIGITAL PARTNERS.
6 mins
March / April 2026
WIRED
WATCH THIS SPACE
KIDS AS YOUNG AS 5 ARE WEARING SMARTWATCHES THAT PLUNGE THEM INTO A WORLD OF POPULARITY CONTESTS, ENGAGEMENT HACKS, AND EVEN DATING.
4 mins
March / April 2026
WIRED
POWER PLAY
WITH FACTORIES AND MANUFACTURING DEALS ON NEARLY EVERY CONTINENT, CHINESE BATTERY COMPANIES ARE TAKING OVER THE WORLD.
3 mins
March / April 2026
WIRED
THE GREAT CHINESE NOVEL
MILLIONS OF WORDS. HUNDREDS OF AUTHORS. THE MORNING STAR OF LINGAO IS BARELY KNOWN OUTSIDE CHINA BUT IT'S THE KEY TO UNDERSTANDING THE COUNTRY'S MODERNIZATION AND MALAISE.
8 mins
March / April 2026
WIRED
BABY MAKER
NOW HE'S AGAIN HOPING TO MODIFY HUMAN EMBRYOS.
6 mins
March / April 2026
WIRED
THIS IS WHAT SUCCESS LOOKS LIKE
THE BIGGEST ANIMATED MOVIE IN THE WORLD WAS MADE IN CHINA. IT CONCEALS AN UGLY TRUTH.
2 mins
March / April 2026
WIRED
HOT CHEAP, AND OUT OF CONTROL
CHINA'S RENEWABLE ENERGY REVOLUTION AND ITS GLOBAL ONSLAUGHT OF CHEAP POWERIS A HUGE MESS THAT MIGHT SAVE THE WORLD.
10 mins
March / April 2026
WIRED
ECLIPSED
THE US DECLARED A SPACE RACE WITH CHINAAND GAVE ITSELF ALMOST ZERO CHANCE OF WINNING.
17 mins
March / April 2026
Listen
Translate
Change font size

