frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

I'm 15 building the place where ambitious people find the people build with

https://www.linkupbuild.com/
1•tanakabuilds•5m ago•0 comments

A portable, sensitive, low power, analog Geiger counter

https://ludens.cl/Electron/geiger2/geiger2.html
1•crorella•9m ago•0 comments

AI Agents have a half-life

https://construct.computer/blog/agent-task-half-life/
1•ankushKun•9m ago•0 comments

DOJ deploys tactic to strip naturalized Americans of citizenship [video]

https://www.youtube.com/watch?v=bZDq3e0wYgc
2•mgh2•12m ago•0 comments

Connecting my Illumos box to a Japanese ISP

https://skalski.dev/connecting-my-illumos-box-to-a-japanese-isp/
2•mskalski•13m ago•0 comments

An Anecdote Against Slop Artifacts

https://www.markusde.ca/pages/noslop.html
1•DamonHD•15m ago•0 comments

Is this the end of human code review?

https://arxiv.org/abs/2608.12440
1•bonjourjoel•18m ago•0 comments

Cloning could be used to save species–or make human "organ sacks"

https://www.technologyreview.com/2026/08/14/1141919/cloning-save-species-or-make-human-organ-sacks/
1•joozio•21m ago•0 comments

Show HN: See what your Linux machine measured at boot (through TPM eventlog)

https://jiankun.lu/eventlog-parser/
1•jklu•23m ago•0 comments

Two years as prime minister in a hit new game – then my cabinet deserted me

https://www.bbc.co.uk/news/articles/cq56pzqy6jvo
2•zeristor•25m ago•0 comments

Show HN: Laptop is the last place your secrets are still in plaintext

https://github.com/jitpass/jit
12•bukershok•27m ago•4 comments

Why Aging May Be a Program, Not a Breakdown

https://www.quantamagazine.org/why-aging-may-be-a-program-not-a-breakdown-20260814/
2•pykello•34m ago•0 comments

Beancount in Rust

https://rustledger.github.io
1•NamlchakKhandro•37m ago•0 comments

AI Stock Research Assistant · Streamlit

https://ai-stock-research-kiaan.streamlit.app
2•KiaanKothari•37m ago•1 comments

The Cell: Inside North Korea's Remote Worker Command Center

https://www.rubrik.com/blog/company/26/7/the-cell-inside-north-koreas-remote-worker-command-center
2•shivanshuag•39m ago•0 comments

Show HN: An Universal Linux Application Uninstaller

https://github.com/swadhinbiswas/veet
1•0xER•42m ago•0 comments

A leaked Composio key returned live Gmail, GitHub and CircleCI tokens

https://www.cyera.com/research/the-hidden-attack-surface-of-agentic-ai-securing-ai-agent-integrat...
2•shimi12•44m ago•0 comments

Want things to go well? Plan like a defensive pessimist

https://psyche.co/guides/want-things-to-go-well-plan-like-a-defensive-pessimist
1•vinhnx•47m ago•1 comments

A Jupyter kernel for C++ running in the Web browser (2025)

https://blog.jupyter.org/c-in-jupyter-interpreting-c-in-the-web-c9d93542f20b
1•theanonymousone•48m ago•0 comments

How to Overcome Your Brain's Fixation on Bad Things (2020)

https://greatergood.berkeley.edu/article/item/how_to_overcome_your_brains_fixation_on_bad_things
1•vinhnx•50m ago•0 comments

Big tech meets Milton Friedman

https://www.semafor.com/article/08/11/2026/big-tech-meets-milton-friedman
2•andsoitis•52m ago•0 comments

Apple tests Chinese memory chips

https://www.semafor.com/article/08/09/2026/apple-tests-chinese-memory-chips
2•andsoitis•54m ago•0 comments

Positive Mindset, Prepare for the Worst

https://domenkozar.com/2026/08/15/positive-mindset-prepare-for-the-worst/
1•vinhnx•54m ago•0 comments

Google doesn't need the LLM crown

https://www.semafor.com/article/08/07/2026/google-doesnt-need-the-llm-crown
1•andsoitis•56m ago•0 comments

Non-coder –> Vibe coder -> Manual coder

https://beachfront.bearblog.dev/non-coder-vibe-coder-manual-coder/
2•Gecko4072•1h ago•1 comments

BlackBerry: From phone dinosaur to tech champion

https://www.ft.com/content/a026e094-7017-4ff8-8344-213573e973ed
1•thm•1h ago•0 comments

Qualtix: Model-backed stock research platform

https://www.qualtix.app/
1•Sharanxxxx•1h ago•0 comments

Taking Java from small to big with JBang

https://sombriks.com.br/blog/0095-java-small-to-big-with-jbang/
1•theanonymousone•1h ago•0 comments

I'd love to feature your business in my newsletter

2•xnslx•1h ago•0 comments

Show HN: Side Out, a Multiplayer Survival Pong

https://antics.gg/world/side-out-94df7d
3•eric_khun•1h 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.