frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

How to Review Code

https://endler.dev/2025/how-to-review-code/
3•r4um•13h ago

Comments

WCSTombs•12h ago
I have some experience in setting code review standards at the places where I've worked, and it's something I've thought about a lot (maybe too much). Anyway, I agree with pretty much everything the author wrote.

This is a slight tangent, but one possibly unintuitive rule that I always like to add is to avoid asking "why" questions, like

> Why is `x` a single-precision float?

It's unintuitive because as the reviewer you may well want to understand that "why," but the problem is that this phrasing is secretly a personal question, not technical. (By the way, my number one rule of code review is never make it personal. It's about the code, not the coder.) Note that you can't get around this by replacing the "why" with a synonym, like "what is the reason for...," which is just more words and not much better.

The solution to this as a reviewer is to recurse into your own thought process and ask yourself why you want to ask the "why" question, and just say that instead. In practical terms, what this usually means is to just say what you think may be the better alternative and why, which makes it a concrete technical choice that can be discussed.

> I think `x` should be double-precision because [...]. What do you think?

(And if you actually are just curious about the "why" and not implying a coding error, say that explicitly.)

Show HN: Paket Tour Dieng – Static Site in Astro with Netlify Deployment

https://paketwisatadieng.netlify.app/paket-tour/
1•lakonewsb•3m ago•0 comments

I find journaling indispensable (2019)

https://jon.bo/posts/journaling/
1•dvrp•4m ago•1 comments

Windows 11 24H2 updates failing again with 0x80240069 errors

https://www.bleepingcomputer.com/news/microsoft/windows-11-24h2-updates-failing-again-with-0x80240069-errors/
1•kPwn•5m ago•0 comments

Sick as a Dog

https://privatebank.jpmorgan.com/nam/en/insights/latest-and-featured/eotm/sick-as-a-dog
2•johntfella•12m ago•0 comments

Why operating system package maintainers matter

https://briancallahan.net/blog/20250813.html
2•LorenDB•17m ago•0 comments

Structured binding packs in GCC 16

https://old.reddit.com/r/cpp/comments/1moebfm/structured_binding_packs_in_gcc_16/
2•ibobev•20m ago•0 comments

Show HN: Cromulant

https://github.com/madprops/cromulant/blob/main/screenshots.md
2•Toby1VC•21m ago•0 comments

Reflections on LeetCode and LSAT in my 30s

https://andreagao.com/posts/reflection-standardized-tests/
2•gytrcrt•22m ago•0 comments

China Uses the Cppcc to Conduct "United Front Diplomacy" with North Korea

https://www.38north.org/2025/08/keeping-the-door-open-how-china-uses-the-cppcc-to-conduct-united-front-diplomacy-with-north-korea/
2•EA-3167•23m ago•0 comments

Great Ideas in Theoretical Computer Science

https://ocw.mit.edu/courses/6-080-great-ideas-in-theoretical-computer-science-spring-2008/
2•ibobev•24m ago•0 comments

A poet's long-forgotten daughter created the first algorithm

https://adamgrant.micro.blog/2025/08/13/how-a-poets-longforgotten-daughter.html
2•hidelooktropic•25m ago•3 comments

sshrc: Bring your .bashrc, .vimrc, etc. with you when you SSH

https://github.com/cdown/sshrc
2•thunderbong•28m ago•0 comments

Kubernetes will solve YAML headaches with KYAML

https://thenewstack.io/kubernetes-is-getting-a-better-yaml/
2•thecosmicfrog•28m ago•0 comments

A virtual machine with native AI instructions

3•noreplydev•28m ago•0 comments

Realbotix

https://www.realbotix.com/
2•fcpguru•31m ago•0 comments

Ask HN: What's stopping Guix from building static binaries for various targets?

2•tetris11•32m ago•0 comments

Vibe Coding Awareness Month

https://hellotonic.com/blog/vibe-coding
1•chadmckenna•35m ago•1 comments

Management of IP numbers by peg-DHCP (1998)

https://datatracker.ietf.org/doc/html/rfc2322
1•sjmulder•41m ago•0 comments

Max Read's 'A Literary History of Fake Texts in Apple's Marketing Materials'

https://daringfireball.net/2025/08/max_read_literary_history_fake_apple_texts
1•Bogdanp•44m ago•0 comments

Z-Wave Reborn – Home Assistant Connect ZWA-2

https://www.home-assistant.io/blog/2025/08/13/home-assistant-connect-zwa-2/
2•mike-cardwell•44m ago•0 comments

Is McKinsey losing its crown to AI? [video]

https://www.youtube.com/watch?v=QXAXNcRs7gQ
2•mgh2•46m ago•1 comments

Amazon Ads Multi-Touch Attribution

https://arxiv.org/abs/2508.08209
1•dakial1•48m ago•0 comments

Show HN: Cinematic Rolplay with Wan 2.2

https://www.reveriedr.com
1•amit0365•48m ago•0 comments

Ask HN: Is there an AI that can read code aloud and explain it?

2•djfobbz•49m ago•0 comments

Evals as Code: CI for LLMs with Dagger

https://dagger.io/blog/evals-as-code
2•shad42•50m ago•1 comments

Ask HN: Is https://web.whatsapp.com/ loading for you atm?

2•gjvc•51m ago•2 comments

A Good Find

https://justinjackson.ca/good-find
1•mooreds•52m ago•0 comments

If You Could Fix One Thing About AI Search, What Would It Be?

1•zyruh•53m ago•2 comments

Eca: Editor Code Assistant – AI pair programming capabilities agnostic of editor

https://github.com/editor-code-assistant/eca
19•simonpure•55m ago•0 comments

Show HN: Deploy Any Web App Directly from Claude Code

https://disco.cloud/blog/deploy-any-web-app-directly-from-claude-code/
1•gregsadetsky•57m ago•0 comments