Urgent.News

What's breaking now, across hundreds of outlets.

Tech

If we stop reading the code, what do we read?

“Human beings are too slow when dealing with code. So if we’re going to move at the speed of the The post If we stop reading the code, what do we read? appeared first on The New Stack .

If we stop reading the code, what do we read?

In an era where code agents can write and open pull requests at breakneck speeds, humans are finding it increasingly difficult to keep up with reading every line of code. Robert "Uncle Bob" Martin, a renowned software engineer and author, concedes that he rarely sees 95% of the code his agents generate. The speed of code agents is outpacing human reading capabilities, and most teams have long abandoned line-by-line reading.

Rather than completely abandoning code reading, Uncle Bob suggests focusing on high-level supervision. AI agents provide a visual representation of the code, allowing engineers to expand, collapse, and drill into specific parts. This tool enables them to identify issues, such as functions with high CRAP scores (Change Risk Anti-Patterns), low mutation-testing scores, and problematic dependencies. Engineers can also simulate what-if scenarios and review proposed structures before any changes are made to the source code.

When dealing with a team, the reviewer should pay attention to several aspects when approving changes. They should examine the intent of the change, the acceptance criteria, and the architectural, behavioral, and technical decisions that were made. Intent is captured through prompts and back-and-forth with the agent, while acceptance criteria consist of specific change requirements and team-wide invariants.

Decisions made during the process, such as library selections, data models, and fallback strategies, should also be reviewed.

Ultimately, the goal is to maintain a mental model of the codebase, even if engineers can't realistically read every line of AI-generated code. By focusing on intent, acceptance criteria, and decisions, engineers can ensure they understand the system's workings and the reasoning behind architectural choices, without being overwhelmed by the sheer volume of code.

Rewritten by urgent.news; may contain errors — check the original.

Read the original at thenewstack.io →

Report a problem with this story

More in Tech

Binance secures $6.5 billion court order to recover assets stolen in October hack

Crypto exchange, Binance, has secured a $6.5 billion worldwide freezing order from the Abu Dhabi Global Market (ADGM) Courts as part of efforts to recover cryptocurrency assets stolen during a…

  • Binance secures $6.5 billion court order in Abu Dhabi to recover stolen assets.
  • Order aims to prevent perpetrators from accessing stolen assets and facilitate recovery.
  • Incident saw $6 billion worth of cryptocurrency stolen by North Korean cybercriminals.

The FBI and USDA were reportedly hacked

Friday, it was reported that both the US Department of Agriculture (USDA) and the FBI were hacked. In reporting on the FBI hack, CNN noted that this is the second such attack on the agency in the last…

More from Saturday 21 November →