Massive Reddit drama: A senior dev watches his 5-year project collapse after the CEO lays off 6 developers, convinced by marketing that AI can do their jobs.

Just scrolling through Reddit with my morning coffee and stumbled upon a massive dumpster fire. A senior dev is watching 5 years of hard work go down the drain because the CEO got hypnotized by a marketing team's "AI hype" video.
According to the original poster (OP) on Reddit, their dev team has been grinding on a project for 5 solid years. Everything was going as well as software development goes, until someone from the marketing department found a video of the Anthropic guys building stuff with unlimited tokens (probably playing around with some flashy ai generator).
Marketing brought this shiny object to the CEO, essentially whispering: "Bro, we don't need devs anymore." And the CEO actually bought it.
OP was ordered to lay off 6 of his guys—veteran developers who grew with the product, have families to feed, and bills to pay. No warning, just straight to the guillotine. OP is currently emotionally drained, feeling disrespected, feeling like 15 years in the industry was a total waste of time, and is pretty sure he's next on the chopping block.
The post blew up, and the dev community went absolutely ballistic. Here are the main takeaways from the comment section:
This sounds like a wild nightmare, but it's happening more often than we'd like to admit. From our perspective here at Coding4Food, there are a couple of hard pills to swallow.
First, company loyalty is a myth. You can give a company 5 years of your life, but to the finance department, you're just an expense line. Always keep your emergency fund stocked, your skills sharp, and maybe spin up a cloud vps to host a side hustle. Keep your LinkedIn status on "Open to Work."
Second, AI is cool, but it's not going to maintain a messy, edge-case-filled production environment on its own. Give it 6 months. When their AI-generated codebase inevitably crashes and burns, they'll be begging these "expensive" devs to come back as consultants for double the hourly rate. To the OP: take a deep breath, grab a beer, and let the ship sink. You deserve better.
Source: Reddit - It finally happened