Why AI Context and the Right Model Matter When Building Apps
A tiny task, two very different answers I gave two AI models the same three-line Python task. One gave me four lines of clean code and a useful warning. The other spotted the same edge case, but it quietly decided how to handle it for me. The task was so simple that you'd expect both models to do it the same way. They didn't, and the difference taught me more than any benchmark. Context, and choosing the right model, matter even for the smallest tasks. The task I sent both models the same prompt, word for word: Build a Python script. You should define a function named apply_discount . The apply_discount function should take exactly two parameters: price and discount . If price is not a number (int or float), the function should return the string The price should be a number . That's the whole spec. It doesn't say how to handle the discount, what to return for valid input, or what to do about edge cases. A good assistant has to decide what to fill ...