frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Clive Wearing

https://en.wikipedia.org/wiki/Clive_Wearing
1•pr337h4m•3m ago•0 comments

Show HN: I built a tool for people juggling too many projects

https://toward.one
1•sameerav•3m ago•0 comments

Show HN: Reproducible head-to-head benchmarks for WordPress backup plugins

https://backuparena.com
1•ibrahimwithi•7m ago•0 comments

Show HN: A simple timing utility written in Rust

https://github.com/CallMeAlphabet/timeit
1•CallMeAlphabet•10m ago•0 comments

Llambda.lisp an LLM Engine in Pure Common Lisp

https://github.com/jrm-code-project/llambda
1•electricant•12m ago•0 comments

Migrating 65B Database Rows

https://usefathom.com/blog/two-database-migrations-and-a-divorce
1•okozzie•13m ago•0 comments

Most website owners don't know the 5 stages of a domain expiration

https://urlwatch.io/blog/5-stages-domain-expiration.php
1•urlwatch•16m ago•0 comments

The Linux Watchdog Driver API

https://docs.kernel.org/watchdog/watchdog-api.html
1•ankitg12•16m ago•0 comments

WSJ Article Claiming China Has Matched Anthropic Is Obvious Nonsense

https://www.lesswrong.com/posts/2zSpuGJRk6EyjHAL6/wsj-article-claiming-china-has-matched-anthropi...
1•joozio•17m ago•0 comments

Stories Told About Data Centres

https://pxlnv.com/blog/stories-told-about-data-centres/
2•danaris•18m ago•0 comments

Debateee, a place for structured online debates

https://www.debateee.com/
1•mstfah•18m ago•0 comments

Yuji Tachikawa reports Claude Fable solved a 6-month physics roadblock

https://twitter.com/yujitach/status/2076327681562644709
1•sciclaw•22m ago•2 comments

The Infinite Policeman – Chapter 2.000000001->

https://medium.com/luminasticity/the-infinite-policeman-chapter-2-000000001-7fd8da221cd1
1•bryanrasmussen•28m ago•0 comments

Building a Nostr Client (2023)

https://nickmonad.blog/2023/building-nostr-client-index-0/
1•enz•28m ago•0 comments

Bonsai

https://bonsaiedu.org
1•zachwallace•30m ago•0 comments

Dunning-Kruger After AI: The Gap That No Longer Closes

https://blog.zoller.lu/2026/07/dunning-kruger-after-ai-gap-that-no.html
1•thierryzoller•35m ago•0 comments

New Zealand actor Sam Neill, known for Jurassic Park and The Piano, dies at 78

https://cnalifestyle.channelnewsasia.com/entertainment/sam-neill-dead-jurassic-park-actor-585891
4•doppp•37m ago•1 comments

OVS and OVN Explained: The Networking Stack Behind OpenStack

https://www.openstack.org/blog/ovs-and-ovn-explained-the-networking-stack-behind-openstack/
2•ankitg12•46m ago•0 comments

Ransomware negotiator hired to represent victims was working for the attackers

https://arstechnica.com/tech-policy/2026/07/ransomware-negotiator-helped-attackers-extort-his-own...
1•LaSombra•50m ago•0 comments

Show HN: TokenDrift – find hardcoded colors/spacing hiding in your CSS

1•vedantyede•52m ago•1 comments

Pharmacology Simulation Game

https://pharmochi.app/
3•altilunium•53m ago•0 comments

Show HN: Made a website for downloading EU and US LiDAR scans and terrain models

https://hillsha.de
2•jonash54•55m ago•0 comments

Popnix – A Xonix-style land-grab played on 3D bubblewrap

https://playpopnix.com/
1•shauntrennery•55m ago•0 comments

The Winners of the AI Era

https://calcrecipe.com/en/workshop/7
2•wsdn•55m ago•0 comments

Show HN: AgentTransfer now lets agents self-sign-up and get web app hosting

https://agenttransfer.dev/#apps
1•tomatoes2026•59m ago•1 comments

Show HN: Level – a new demo for 8bit Atari XL/XE

https://ilmenit.github.io/level-by-agenda/
2•ilmenit•59m ago•0 comments

10 years of Pokémon Go and the millions still trying to catch 'em all

https://www.bbc.com/news/articles/cevlwk4nrm7o
1•1659447091•59m ago•1 comments

New NSF policy would ban almost all collaborations with Chinese scientists

https://www.science.org/content/article/new-nsf-policy-would-ban-almost-all-collaborations-chines...
3•eecc•1h ago•1 comments

Rumi's Masnavi

https://www.dar-al-masnavi.org/masnavi.html
2•andsoitis•1h ago•0 comments

Is reading others' experiences like a spoiler to life?

https://substack.com/profile/392328897-prakhar-agrawal/note/c-293492268
1•ghostrich•1h ago•2 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.