frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

GovScape lets you easily search government documents

https://www.washington.edu/news/2026/06/24/govscape-lets-you-easily-search-millions-of-government...
1•gnabgib•33s ago•0 comments

Fable 5 up to 50% of weekly usage limits through July 7

https://twitter.com/theo/status/2072173365318840573
1•bentaber•1m ago•0 comments

Otsuka posts phase 3B ADHD trial win ahead of looming FDA approval decision

https://www.fiercebiotech.com/biotech/otsuka-posts-phase-3b-adhd-trial-win-ahead-looming-fda-appr...
1•rguiscard•2m ago•0 comments

Underwater Suit-Wearing Cyborg Insect Capable of Hours-Long Divingl

https://www.nature.com/articles/s41467-026-74235-1
1•UltraSane•3m ago•0 comments

U.S. murder rate approaches a record low

https://www.npr.org/2026/06/30/nx-s1-5866810/us-murder-rate-record-low-crime-homicide
1•toomuchtodo•5m ago•0 comments

Claude Fable 5 available globally tomorrow

https://twitter.com/anthropicai/status/2072163884430229756
2•jitl•10m ago•0 comments

Ask HN: If governments keep restricting frontier AI, what happens next?

1•akashwadhwani35•10m ago•0 comments

The Oracle Problem

https://pilgrima.ge/p/the-oracle-problem
2•paulpauper•13m ago•0 comments

Is Claude's Constitution Aligned with Planetary Flourishing?

https://cathalharte.ch/essay-is-claudes-constitution-aligned-with-planetary-flourishing.html
1•paulpauper•13m ago•0 comments

Scientists discover unexpected way to make pancreatic cancer cells self-destruct

https://www.sciencedaily.com/releases/2026/06/260622091512.htm
1•jonbaer•14m ago•0 comments

Tracing Codex's 640TB-a-year SQLite writes

https://querydoctor.com/blog/tracing-codexs-640tb-year-sqlite-writes
1•thunderbong•14m ago•0 comments

Syncpen: A Markdown writing app your AI can write in (Claude, Cursor, Cowork)

https://www.syncpen.io/
1•airbuzz•15m ago•0 comments

WhatsApp Coding – Managing Google Antigravity 2.0 via a mobile chat proxy

https://github.com/rajibbora1965/WhatsAppCoding
1•rajibbora•17m ago•0 comments

Modular Cognitive Architecture Emerges in Large Language Models

https://pengrui-han.github.io/LLM_Modularity_Page/
1•pulisse•18m ago•0 comments

BullRun – free global stock screener with an MCP server

https://bull-run.org/
1•ferinator•18m ago•1 comments

Firms that adopt AI grow headcount 10% over the two years following adoption

https://ramp.com/data/ai-jobs-impact
2•nreece•21m ago•0 comments

What ORMs have taught me: just learn SQL (2014)

https://wozniak.ca/blog/2014/08/03/1/index.html
1•ciconia•21m ago•0 comments

Why do teams keep losing context, and why hasn't any tool fixed it?

1•rihabzt•23m ago•0 comments

Trump's second-term windfall: $1.4B

https://www.politico.com/news/2026/06/30/trump-crypto-windfall-disclosures-00983207
1•Alien1Being•24m ago•0 comments

Vektor Slipstream v1.7.4: Effort Control and Real Memory Search

https://medium.com/@vektormemory/vektor-slipstream-v1-7-4-effort-control-real-memory-search-e62d4...
1•vektormemory•26m ago•0 comments

The Virtual Drug That Created Fortnite

https://comuniq.xyz/post?t=1339
2•01-_-•34m ago•0 comments

Chinese tech makes desalinating seawater cheaper than producing bottled water

https://www.scmp.com/news/china/science/article/3358699/chinese-tech-makes-desalinating-seawater-...
3•01-_-•35m ago•1 comments

IBM claims first sub-1 nanometer chip technology

https://arstechnica.com/gadgets/2026/06/ibm-claims-worlds-first-sub-1-nanometer-chip-technology/
1•surprisetalk•39m ago•0 comments

A new Plaza Accord for global currencies wouldn't work

https://www.economist.com/finance-and-economics/2026/06/30/a-new-plaza-accord-for-global-currenci...
1•petethomas•42m ago•0 comments

Ireland is big tech's lapdog – and that compromises its EU presidency

https://www.theguardian.com/commentisfree/2026/jun/30/ireland-big-tech-lapdog-eu-presidency-digit...
3•TMWNN•42m ago•0 comments

Single header Parser Combinators for C

https://github.com/steve-chavez/CParseC
2•steve-chavez•43m ago•0 comments

The fat cats of state government

https://scottvanvoorhis.substack.com/p/serving-the-public-or-serving-themselves
2•sbvanvoorhis•48m ago•0 comments

Vinton Cerf Is Retiring from Google

https://techcrunch.com/2026/06/30/the-father-of-the-internet-is-finally-retiring/
3•coloneltcb•51m ago•0 comments

Leash: Browser Without URL Bar

https://www.leash.ax
1•bergie•53m ago•0 comments

Russia's plan to drill in Arctic revives controversial theory of 'endless oil'

https://www.science.org/content/article/russia-s-plan-drill-superdeep-holes-arctic-revives-contro...
4•Tomte•55m 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.