{"slug": "llm-is-the-horse", "title": "LLM is the Horse", "summary": "A Hacker News comment criticizing Claude Code for using regex for sentiment analysis, comparing it to a truck company using horses. The author argues the analogy is inverted, asserting that regex is like a truck (efficient but requiring human direction), while an LLM is like a horse (self-sufficient but slower and more complex). The piece concludes that both tools have distinct use cases, echoing the sentiment that a diverse toolbox is valuable.", "body_md": "Recently someone posted on Hacker News about the Claude Code source code that got leaked, and the first comment was pointing out how they have a regex to detect a negative sentiment in the code. Then one comment got me thinking:\nClaude Code uses regex to analyze the sentiment of the user prompt\nMore specifically that last one, reproducing here:\nAn LLM company using regexes for sentiment analysis? That’s like a truck company using horses to transport parts. Weird choice.\nI think the analogy couldn’t be more wrong. In fact, it makes more sense inverted. The LLM is the horse, and the regex is the truck. In the sense that regex are more efficient in parsing text than an LLM is, but it requires a person driving it, like the truck. While the horse can do it by itself, it’s a more complicated system that is slower and more expensive (well, not in terms of money, but horses are animals that have needs and can’t work all the time).\nThat reminds me of a similar discussion I saw years ago when autonomous cars became a thing. So much research and engineering into a car to make it drive by itself and avoid obstacles, when the very previous thing we used for transportation already did all of this! Yes, the same horses!\nOf course, in the case of autonomous cars, we’re talking about speed and conformation to the current transportation infrastructure we have in our cities. And in the LLM analogy, needless to say that it can perform sentiment analysis very well, but I guess everything has their own use case. Or as Hacker News user draxil posted: “Good to have more than a hammer in your toolbox!”\nWhat are your thoughts on it?", "url": "https://wpnews.pro/news/llm-is-the-horse", "canonical_source": "https://crocidb.com/post/llm-is-the-horse/", "published_at": "2026-03-31 00:00:00+00:00", "updated_at": "2026-05-21 21:09:22.376953+00:00", "lang": "en", "topics": ["large-language-models", "artificial-intelligence", "machine-learning", "developer-tools", "autonomous-vehicles"], "entities": ["Claude Code", "Hacker News"], "alternates": {"html": "https://wpnews.pro/news/llm-is-the-horse", "markdown": "https://wpnews.pro/news/llm-is-the-horse.md", "text": "https://wpnews.pro/news/llm-is-the-horse.txt", "jsonld": "https://wpnews.pro/news/llm-is-the-horse.jsonld"}}