Joshua Barretto is helping junior engineers get their bearings in a large, poorly documented codebase. His test for engineering judgment: what do you do when a seemingly unrelated change makes a bug vanish? You have a clue about how the system behaves. The fix alone can’t tell you why it worked.

  • The patch and the lesson have different deadlines. The team needs a fix today. The engineer who follows the symptom might learn something they’ll use years later. Barretto warns that handing the whole investigation to Claude can cost them that chance.
  • An old investigation pays off. A senior colleague recognizes a strange crash from one kernel log line and finds a patch from a similar incident five years earlier. Barretto says the patch worked; he changed technical details for confidentiality.

The Hacker News discussion asks when a model can help you learn, which debugging lessons are worth keeping, and how to pass them on.

What the thread adds

  • keyle — “AI for learning is good I feel. Understanding shouldn’t be restricting the researching part. Use every tool available for the job.”
  • mceachen — Leave the next engineer a clue: record the reason for surprising code where a search can find it. “It may help explain the WTF to engineers of tomorrow and expedite a fix, or, ideally, avoid it from recurring.”
  • jmillikin — “It’s important to distinguish trivia from knowledge, and even more so durable trivia from ephemeral trivia.”
  • foltik, replying to jmillikin — “And how exactly do you expect to arrive at this structural solution for all problems of class $X, if not by studying and understanding the particulars of many instances?”
  • beej71 — A team can spread expertise across people and still be able to trace a failure. Losing a link in that chain is what beej71 calls “the bus problem in different clothing.”

The handles are pseudonymous. These views are a slice of the thread, not a consensus.