News for hackers. Stuff that matters.
Re:Ask HN: Is understanding code becoming "optional"? by adamzwasserman on Saturday January 31, 2026 @02:16PM (#46839791)
Although I write very little code myself anymore, I don't trust AI code at all. My default assumption: every line is the most mid possible implementation, every important architecture constraint violated wantonly. Your typical junior programmer.

So I run specialized compliance agents regularly. I watch the AI code and interrupt frequently to put it back on track. I occasionally write snippets as few-shot examples. Verification without reading every line, but not "vibe checking" either.

Re:Ask HN: Is understanding code becoming "optional"? by mikaelaast on Saturday January 31, 2026 @02:20PM (#46839830)
I like this. The few-shot example snippet method is something I’d like to incorporate in my workflow, to better align generated code with my preferences.
Re:Ask HN: Is understanding code becoming "optional"? by adamzwasserman on Saturday January 31, 2026 @02:45PM (#46840061)
I have written a research paper on another interesting prompting technique that I call axiomatic prompting. On objectively measurable tasks, when an AI scores below 70%, including clear axioms in the prompt systematically increases success.

In coding this would convert to: when trying to impose a pattern or architecture that is different enough from the "mid" programming approach that the AI is compelled to use, including axioms about the approach (in a IF this THEN than style, as opposed to few shot examples) will improve success.

The key is the 70% threshold: if the model already has enough training data, axioms hurt. If the model is underperforming because the training set did -not- have enough examples (for example hyperscript), axioms helps.