Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Ember-1 (fireworks.ai)
    180comments
  2. When did Google get so weird? (sancho.bearblog.dev)
    412comments
  3. Self-parking car using genetic algorithm (2021) (trekhleb.dev)
    2comments
  4. Alan Kay's answer to “Did the ENIAC have a BIOS”? (quora.com)
    28comments
  5. There is more to code review than (automatable) detection (adaptivecapacitylabs.com)
    25comments
  6. Lunar Terminator Paradox (secretsauce.net)
    28comments
  7. The state of SIMD in Rust in 2026 (shnatsel.github.io)
    19comments
  8. Show HN: Lofi Cities – Pixel-art city nights with browser-generated lofi (loficities.com)
    76comments
  9. Don't couple your Go code to GitHub (iain.rocks)
    77comments
  10. Self-Hosting on the Dark Web (alvarezrosa.com)
    21comments
  11. What I did at Recurse Center (thill.me)
    18comments
  12. Imp is a full port of DSPy to the BEAM (github.com/deepfates)
    5comments
  13. Oral history of John Chowning, inventor of FM synthesis [video] (youtube.com)
    10comments
  14. Guitar amp and effects pedal built on the Waveshare ESP32-S3-Touch-AMOLED-2.06 (github.com/dashersw)
    —discuss
  15. In an $80 motel room, a discovery to shed light on the origins of life (nytimes.com)
    81comments
  16. Replacing the old battery on rechargeable bike lights (jvns.ca)
    73comments
  17. Previously unheard recordings of John Coltrane, captured by Frank Tiberi (jazzwise.com)
    19comments
  18. Have an LLC (zachholman.com)
    16comments
  19. Writing Efficient C++ Code (2013) (asawicki.info)
    82comments
  20. A New Experiment Meta-Strategy (chillphysicsenjoyer.substack.com)
    —discuss
  21. My Recent Woodworking Projects (notoriousbfg.com)
    13comments
  22. Fragment of oldest known peace treaty found in Turkey (livescience.com)
    8comments
  23. Flip Fluid on Flip Dots (mitxela.com)
    24comments
  24. S3 Is the Future, S3 Is the Past (btrblocks.com)
    44comments
  25. The Cartesian Hand: In-Hand Manipulation with All-Linear Fingers (generalroboticslab.com)
    10comments
  26. Fakecloud: Local AWS cloud emulator for integration tests (fakecloud.dev)
    59comments
  27. Video CDs Break Windows Explorer (clydesnotes.blogspot.com)
    36comments
  28. Faster prompt lookup drafting in llama.cpp (jadidbourbaki.github.io)
    11comments
  29. Every Household in This Rural Town Receives $10k If a Data Center Gets Built (wsj.com)
    1comments
  30. Show HN: TinyAIArena watch AI agents battle it out (tinyaiarena.com)
    40comments

There is more to code review than (automatable) detection

65 pointsby 1d agoadaptivecapacitylabs.com
24 comments
21h agoHN ↗

I think this applies to the writing of code as well

4h agoHN ↗

Unfortunately this often represents the only feedback given by the people in those „higher“ positions.

„The indent is wrong here“

„Comments should end with a period“

Because this kind of feedback is and was always easy.

3h agoHN ↗

If you get feedback like that, it’s time for your team to get automated linting/formatting

1h agoHN ↗

Call for a style guide meeting every time you see feedback like this, and write down what everybody agrees on. You’ll never have to do it again after 3-4 of those. Problem solved.

Still not solved? Guess it was really about the commas and not the value delivered anyway, so do whatever you feel like.

3h agoHN ↗

There's been a lot of talk about the purpose of code review recently. It makes sense in the face of AI. Heres a link that was submitted a little while ago: https://mathstodon.xyz/@mjd/115096720350507897

And in response I wrote a non-exhaustive checklist of things that a code review can look for:

- Does it functionally achieve what it sets out to (as per tacker issue or PR description)?

- Does it have extraneous code? Leftover debug prints, private API keys etc...

- Does it have any obvious defects? Memory leaks, un-handled edge cases, security flaws, obsolete API calls, etc...

- Could it be more understandable? Add/remove abstractions, better variable/method names, more/less functional etc...

- Is the style consistent with the codebase and/or style guidelines?

- Are there obvious performance improvements? Hashset instead of list, lazy evaluations, etc...

- Is it sufficiently well tested?

I think LLMs are okay at most of these, and worst at the first.

3h agoHN ↗

- Do we want this? Cost/Benefit etc

- Is the change architecturally right?

Particularly the latter LLMs seem still pretty useless at.

2h agoHN ↗

The former feels more like a product leadership problem.

Although I do think that LLMs have made it much easier to justify writing low-value code which can make this more common now.

2h agoHN ↗

I work on an open source project, so to-be-reviewed work can come in without any involvement by anyone :)

35m agoHN ↗

The thing is, leadership relies on the people actually building the software to provide concrete, accurate feedback about cost. Without that they have no chance to do a decent cost/benefit analysis.

But AI has engendered a collapse in developers’ ability to actually do that. Those of us who are stuck on the vibecoding bandwagon have lost the comprehensive understanding of the systems under our care that we need to understand and explain the quality and maintenance implications of a change.

Worse, if you happen to lose your mind and suggest the initial development cost is anything more than ~zero, your friendly neighborhood Claude keener will publicly shame you for not having sufficient faith in the Glorious Agentic Future. Product leadership will then have no choice but to side with them, not necessarily because they agree, but because they, too, are aware that we’re still in the phase of the hype cycle where openly questioning said hype is a career-limiting move.

3h agoHN ↗

Missing my biggest issues as you ask the agents to do larger tasks with less up front planning.

Is there already a pattern or code on in in the existing codebase that handles this functionality,

Do we really need net new code to achieve this functionality?

Can existing code be extended or abstracted to more cleanly implement this feature or functionality.

1h agoHN ↗

“Net new” is one it seems to be particularly bad at.

I don’t think I have ever even once seen an LLM solve a problem related to overengineering by simply removing the overengineering. They always choose to add more epicycles and further compound the complexity.

1h agoHN ↗

Code review also transfers knowledge to the reviewers!

3h agoHN ↗

I couldn’t agree more. Code review is integral to engineering, to sharing system understanding, to building sustainable systems.

Something is missing in the new ai bot review paradigm we’ve all sleepwalked into.

I’ve been building Archme.io for this reason. PR reviews for the age of AI

3h agoHN ↗

Pangram check on the article: 94% of this text is AI

2h agoHN ↗

Pangram check on this comment: 142% of this text is AI

2h agoHN ↗

I actually think this might be a false positive. I think it got tripped up by the higher than average use of jargon (which I don't mind here because the article itself flowed well and raised good points).

Gpt-zero scores "human", and I've always found it to be a better judge

2h agoHN ↗

code reviews are just a gateway that can be whatever you want it to be, and is kind of legacy human coder thing now. At its basics it was a point to catch problems that humans were likely to make / would more likely make if they knew there wasn't a review. Now you can target it for AI mistakes. You can build your code review skills (AI skill) to be incredibly thorough. The points made in the article don't really seem like things you need to do at the "legacy" gateway of code review. Things are different now. Code is cheap. Validation, Product Coherence, Governance need to be done early and throughout.

1h agoHN ↗

In my experience, automated code review is more pointless than ever.

We have all the linters, tests, and AI writing code for us. I don’t need the left hand to tell the right hand it did a good job. I’m very certain my code runs when I push the PR.

What I need now is architectural, long-horizon and business perspective.

13m agoHN ↗

What kind of code review tools did you try?

What I need now is architectural, long-horizon and business perspective.

That's exactly what these tools are now good at. They have a huge gap when fixing these issues properly but they can spot these issues no problem

1h agoHN ↗

To get the context that isn't in the code, maybe it would be better to ask for a review of the prompt?

1h agoHN ↗

Thank you, well put! Bots reviewing code written by bots is a self licking ice cream cone.

14m agoHN ↗

I believe code review is important (the article articulates some of the reasons) but I have to admit, having different models review a PR before passing to a human has proven valuable.

9m agoHN ↗

A defense of human code review I wish I saw more often, especially in light of the concerns people have about cognitive/comprehension debt: comprehension redundancy. At the end, if taken seriously, at least two people understand how the feature works (even if that number is, on average, trending closer to between one and zero). Ideally at least one of the two also comes away with a better understanding of the wider system and how the feature fits into or stands out from that landscape.