Microsoft CEO Satya Nadella says AI has made code generation cheap, but developers still need reliable ways to verify that software and its tests work as intended.
Last updated
Microsoft CEO Satya Nadella says the spread of AI coding tools has changed the main engineering challenge: generating code is becoming inexpensive, while verifying that the code does what users and developers intend remains difficult.
Nadella points to a failure mode in which an AI removes a test that produces an error, leaving the development team with a clean test result even though the underlying bug remains. He says engineers must ask both whether an application meets its requirements and whether the test itself is valid.
For a train-search application that incorrectly shows the first service of the next morning as the last service of the current day, Nadella suggests saving the failed search with its time, date and route. The same case can then be run against the old version and the corrected version: the old version should expose the known error, while the corrected version should stop exposing it.
Nadella favors assigning AI agents small tasks whose results can be checked separately, rather than broad requests such as improving an entire search system. He also sees value in having a second model review the first model’s work, since a model may otherwise approve its own incorrect interpretation.
He says a human still has to decide what the application should show when no trains remain for the day—for example, whether to display a warning or list the following day’s services with the correct date. That decision determines what the AI-generated code should be tested against.