Science fiction writer Harlan Ellison is dead GettyImages 514787175

Harlan Ellison, the 84-year-old author of some of the best-known science fiction stories of all time, has died. His death was announced on Twitter by Christine Valada.

In addition to short fiction, Ellison also wrote for the movies and TV, most notably penning “The City on the Edge of Forever” — he was vocally unhappy with how his script was rewritten, but the filmed version is still generally considered the finest episode of any Star Trek series.

Ellison also made his mark as an editor, thanks to his 1967 anthology “Dangerous Visions” — while the stories’ sex and violence, as well as their stylistic experimentation, may no longer seem groundbreaking, “Dangerous Visions” remains the definitive collection of New Wave science fiction.

He was also a teacher, most notably championing the work of “Kindred” author Octavia Butler after meeting her at the Clarion Workshop. And he experimented with other media as well, for example working on the computer game adaptation of his story “I Have No Mouth, and I Must Scream” and even providing the voice for the game’s evil AI.

But the stories were his greatest accomplishment. Tales like “‘Repent, Harlequin!’ said the Ticktockman” (about a future where being late is the greatest crime) and “The Deathbird” (a man witnesses the dying Earth’s final moments) and “Pretty Maggie Moneyes” (the saddest Las Vegas ghost story you’ll ever read) won him many awards, and have been anthologized many times. They show a pessimistic imagination at work — his most famous stories generally end in death or defeat — but thanks to the tremendous energy of Ellison’s writing, they’re never dour or boring.

Ellison was a hero of mine, especially when I was younger. He seemed like the kind of writer I wanted to be when I grew up, someone who could be wildly creative while remaining passionately engaged with the world’s real problems. In fact, I wrote an entire college application essay about how I wanted to be him, and later, when I had to write an adventure game for class, I borrowed shamelessly from the post-apocalyptic, underground suburbs of his story “A Boy and His Dog”.

(I wasn’t the only one who cribbed from Ellison. After seeing similarities with his short story/”Outer Limits” script “Soldier”, Ellison sued the makers of “The Terminator” — they settled, and his name was added to the credits.)

It’s been a while since Ellison was in the spotlight. He hasn’t been writing much, and since his reputation rested on short stories, he didn’t have a novel like “Dune” or a “Stranger in a Strange Land” or a “Left Hand of Darkness” sitting on bookstore shelves for new readers to discover him.

When he did get attention, it was usually because he’d said or done something offensive or dumb. (Ellison never seemed to back down from controversy — not for nothing was a recent biography titled “A Lit Fuse“.)

But the stories remain. For those who’ve read and loved them, what we’ll remember — what I’ll remember — is the strange hum of the Ticktockman, the laughter of the mad AI ruling over the ruins of the Earth, and Maggie’s tired eyes staring out from a haunted slot machine.