Learn To Code
Published August 9, 2026
Learn To Code is a mocking two-word reply weaponized on Twitter in late January 2019 against journalists who had just been laid off from BuzzFeed, HuffPost, and Gannett. The phrase reused years of coverage suggesting out-of-work coal miners should retrain in software, and turned into a coordinated harassment wave that drew Twitter suspensions and even resurfaced during Joe Biden's 2020 campaign.
Overview
Learn To Code, a mocking catchphrase directed at reporters who lost their jobs during the late-January 2019 media layoffs at BuzzFeed, The Huffington Post, and Gannett1. Typed as a reply under layoff-announcement tweets, the words took a piece of career advice that had been aimed at displaced coal miners for years and threw it back at the reporters who had covered coal country's decline2. On its face the reply looks like harmless advice, which is what made it useful: it carried plausible deniability while landing as an insult with the target2.
The format is short and repetitive. Common variants include "learn to code," "maybe learn to code?" and all-caps versions like "BETTER LEARN TO CODE THEN"1. Trolls often stacked the reply with MAGA slogans, jabs about "fake news," and in some cases direct death threats aimed at named writers2.
The meme became inseparable from a bigger fight about who deserved sympathy in the shift from blue-collar to white-collar work3. For the people typing it, Learn To Code was payback for years of think pieces telling out-of-work miners in Appalachia to retrain in Silicon Valley skills3. For the writers on the receiving end, it read as a coordinated brigade1.
Frequently Asked Questions
References (9)
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9