Story Details

  • Wasting Inferences with Aider

    Posted: 2025-04-13 13:36:17

    The blog post "Wasting Inferences with Aider" critiques Aider, a coding assistant tool, for its inefficient use of Large Language Models (LLMs). The author argues that Aider performs excessive LLM calls, even for simple tasks that could be easily handled with basic text processing or regular expressions. This overuse leads to increased latency and cost, making the tool slower and more expensive than necessary. The post demonstrates this inefficiency through a series of examples where Aider repeatedly queries the LLM for information readily available within the code itself, highlighting a fundamental flaw in the tool's design. The author concludes that while LLMs are powerful, they should be used judiciously, and Aider’s approach represents a wasteful application of this technology.

    Summary of Comments ( 7 )
    https://news.ycombinator.com/item?id=43672712

    Hacker News users discuss the practicality and target audience of Aider, a tool designed to help developers navigate codebases. Some argue that its reliance on LLMs for simple tasks like "find me all the calls to this function" is overkill, preferring traditional tools like grep or IDE functionality. Others point out the potential value for newcomers to a project or for navigating massive, unfamiliar codebases. The cost-effectiveness of using LLMs for such tasks is also debated, with some suggesting that the convenience might outweigh the expense in certain scenarios. A few comments highlight the possibility of Aider becoming more useful as LLM capabilities improve and pricing decreases. One compelling comment suggests that Aider's true value lies in bridging the gap between natural language queries and complex code understanding, potentially allowing less technical individuals to access code insights.