frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The Unique Horrors of A.I. Food Slop

https://www.newyorker.com/culture/infinite-scroll/the-unique-horrors-of-ai-food-slop
1•fortran77•30s ago•0 comments

Lessons in Latency

https://www.bitsxpages.com/p/lessons-in-latency
1•agavra•1m ago•0 comments

Ask HN: Framework to Manage Firecracker?

1•ilbert•2m ago•0 comments

CRDT Metadata for Git

https://replicated.live/blog/meta
2•gritzko•3m ago•0 comments

Pause OpenAI Now

https://garymarcus.substack.com/p/pause-openai-now
11•ForHackernews•5m ago•1 comments

Windows 11's Project Zenith promises a distraction-free experience for devs

https://www.windowscentral.com/microsoft/windows-11/windows-11s-project-zenith-cuts-clutter-for-d...
1•dingi•6m ago•1 comments

The "muscle" trees use to correct their posture

https://www.inrae.fr/en/news/newly-discovered-role-tension-wood-muscle-trees-use-correct-their-po...
1•geox•6m ago•0 comments

Show HN: Kullback – Synthetic RL Environments from Traces

https://www.leibler.dev/kullback
1•kkkamur•7m ago•0 comments

Limiting Overshoot – Navigating exceedance of 1.5°C and pathways towards return

https://www.unep.org/resources/limiting-overshoot-navigating-exceedance
1•CharlesW•9m ago•0 comments

Aiki alpha 3 for language folks

https://decuser.github.io/posts/aiki-alpha-3-release/
1•decuser•11m ago•1 comments

Principles for building agentic cloud from scratch

https://console.cantelop.dev/blog/foundational-principles
1•arsentjev•11m ago•0 comments

Most Software Was Already Slop

https://www.abeautifulsite.net/posts/most-software-was-already-slop/
2•claviska•13m ago•0 comments

Wikivibes – Write the encyclopedia you wished existed

https://wikivibes.org/
1•gfhdfghd•13m ago•0 comments

Satellite Images of Penguin Droppings Reveal Impact of Antarctic Warming

https://e360.yale.edu/digest/penguin-guano-diet-climate-change
1•Brajeshwar•14m ago•0 comments

Everyone has a book in them, more so bloggers

https://disassociated.com/everyone-has-book-bloggers/
1•Brajeshwar•14m ago•0 comments

Muro 4.0 is out: Native Live Wallpapers for macOS, now on Intel Macs too

https://github.com/MrRockySL/Muro
2•rockyxsl•16m ago•0 comments

A Proof of Conway's Refinement Conjecture in Lean

https://github.com/gaearon/conway-refinement
1•danabramov•16m ago•0 comments

Vectra – Offline CVE and GTFOBins intelligence engine for your terminal

https://github.com/addisabrham36-boop/vectra
1•Portzer0•18m ago•0 comments

Genetically modified pig kidney keeps man alive for record nine months

https://www.theguardian.com/science/2026/sep/03/genetically-modified-pig-kidney-keeps-man-alive-r...
1•signa11•18m ago•0 comments

Show HN: DeepMem plugin for Claude Code – persistent semantic memory via MCP

https://github.com/deepmemteam/deepmem-claude-plugin
2•deepmem•19m ago•0 comments

Tell HN: Check Claude CLI, it may have silently enabled remote access

1•cromka•19m ago•0 comments

Some US car buyers envy what they cannot have – affordable Chinese EVs

https://www.reuters.com/world/asia-pacific/some-us-car-buyers-envy-what-they-cannot-have-affordab...
3•signa11•19m ago•0 comments

Scientists map key protein interactions linked with profound autism

https://www.npr.org/2026/09/04/nx-s1-5954823/profound-autism-proteins-genes-map-treatments
1•Anon84•20m ago•0 comments

US urged to consider military strikes to stop China achieving AGI first

https://www.scmp.com/news/us/article/3366284/us-urged-consider-military-strikes-stop-china-achiev...
3•sigma5•21m ago•3 comments

Gridfinity

https://en.wikipedia.org/wiki/Gridfinity
3•Bluestein•22m ago•1 comments

The Story of VS Code | Official Documentary

https://www.youtube.com/watch?v=kHL3XzjpT5w
4•doppp•22m ago•0 comments

ICE Wants to Know Everyone Who Bought a Certain Green Beanie from REI

https://www.wired.com/story/ice-wants-to-know-who-bought-a-certain-green-beanie-from-rei-in-the-l...
2•sbulaev•22m ago•0 comments

Linux 7.4 to Improve Apple Silicon Audio Support and "Impossible" Power Mgmt

https://lore.kernel.org/lkml/20260831-apple-shared-gpio-v1-0-e855b12e18ce@gmail.com/
2•DemiGuru•23m ago•0 comments

Edmond Albius, the Enslaved Man Who Pioneered the Pollination of Vanilla

https://lithub.com/on-edmond-albius-the-enslaved-man-who-pioneered-the-pollination-of-vanilla/
1•ynac•25m ago•0 comments

How Email Works (2025)

https://sushantdhiman.dev/blog/how-email-actually-works-ep-1-behind/
1•theanonymousone•26m ago•0 comments
Open in hackernews

Avoid Continue

https://www.teamten.com/lawrence/programming/avoid-continue.html
2•todsacerdoti•1y ago

Comments

zoezoezoezoe•1y ago
I dont know if I fully agree. Sure, there is definitely an argument the be had about whether or not `continue` is the best word to use in this instance, but why avoid it entirely? Every programmer is able to easily understand what code like this would do:

``` for (Node node : nodeList) { if (node.isBad()) { continue; } processNode(node); } ```

Every keyword in any programming language is largely arbitrary in my opinion let's take a look at the beginning of the codeblock `for (Node node : nodeList)` also completely arbitrary, though it's clear to anyone who's ever written C++ that it is equivalent to saying "for every node in nodeList".

Continue is not meant to read as "continue execution" it's meant to be "continue to the next item of the list", and I think avoiding it entirely is a pointless effort.

Ukv•1y ago
I feel `skip` may have been a better name, but disagree with it being logically difficult to parse beyond that.

If I'm reading a loop and see

    for x in y {
        if exclusions.contains(x) { skip; }
        if x.children.length == 0 { skip; }
        if os.file.exists(x.name) { skip; }
        ...
I instantly know that processing for those elements is skipped, and they won't be relevant for the rest of the loop.

Whereas if I see

    for x in y {
        if !exclusions.contains(x) {
            if x.children.length != 0 {
                if !os.file.exists(x.name) {
        ...
I feel like there's still mental overload with not knowing where those `if` blocks end, and so having to keep the conditions in mind. It doesn't immediately tell me that the rest of the loop is being skipped.

The `log()` mistake seems no less likely to happen using early-returns in function instead, and I'd argue nesting checks actually introduces more room for that kind of error overall, where you append something at the end within the wrong set of brackets, compared to a flatter structure.