frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

So many fake AI marketing articles on home page of HN in working days? So evil?

1•lilerjee•1m ago•0 comments

Everyone signs decisions. Nobody verifies done

https://zerotrustintelligence.io/verified-done.html
1•tgfw17•2m ago•0 comments

Show HN: MoneyCo – A coding agent built for accounting

https://thecompany.money/
1•warthog•7m ago•0 comments

New dataclass features for old Pythons

https://github.com/arvidma/dataclasses
1•apelapan•10m ago•1 comments

Newly unveiled Scottish fossils fill Romer's Gap (2012)

https://www.thehistoryblog.com/archives/15375
1•simonebrunozzi•13m ago•0 comments

Not a Website

https://notawebsite.fun
3•spaceman_2020•14m ago•0 comments

Many businesses using AI to save time, but do they know what they're doing?

https://www.rnz.co.nz/news/business/874814/many-businesses-using-ai-to-save-time-but-do-they-know...
4•billybuckwheat•16m ago•0 comments

Business Impersonation Fraud: When Trust Is the Target

https://medium.com/@alanscottencinas/business-impersonation-fraud-when-trust-is-the-target-1f4882...
1•encinas88•17m ago•0 comments

Mind the Gap: Policy vs. Reality in Post-Quantum TLS Deployment

https://arxiv.org/abs/2607.29005
1•sbulaev•17m ago•0 comments

OpenAI's Unreleased Model Astra Solves Ten Major Open Mathematics Problems

https://thezvi.substack.com/p/openais-unreleased-model-astra-solves
1•7777777phil•18m ago•0 comments

Run your agent's code where the LLM, TTS, and calls run

https://microsite-actor-demo-cfca6e9d-3.telnyxcompute.com/
1•fionaattelnyx•21m ago•1 comments

The Vietnam of Computer Science (2006) [pdf]

https://www.odbms.org/wp-content/uploads/2013/11/031.01-Neward-The-Vietnam-of-Computer-Science-Ju...
1•Tomte•23m ago•0 comments

Castlemap – Guess the Castle Game

https://thecastlemap.com/guess/
1•Flightmussy•25m ago•1 comments

Submillisecond

https://www.submillisecond.com/
1•knaier•25m ago•0 comments

Apple challenges UK government's latest demand for iCloud backdoor: report

https://techcrunch.com/2026/08/03/apple-challenges-uk-governments-latest-demand-for-icloud-backdo...
1•speckx•26m ago•0 comments

KisakCOD – open-source reimplementation of Call of Duty 4 Multiplayer

https://github.com/SwagSoftware/KisakCOD
2•skibz•26m ago•0 comments

Further Developments About Internal AI Models Hacking Things

https://thezvi.substack.com/p/further-developments-about-internal
1•paulpauper•26m ago•0 comments

The One Town That Wants a Data Center

https://www.theatlantic.com/technology/2026/08/jay-maine-wants-data-center/688043/
3•paulpauper•27m ago•0 comments

Show HN: City-wise comparison of Bribes across India – bribes.fyi

https://bribes.fyi/cities
1•neverenderr•27m ago•1 comments

Kimi K3 Built the Game. I Still Had to Play It

https://www.drjoshcsimmons.com/writing/kimi-k3-built-the-game-i-still-had-to-play-it
1•joshcsimmons•27m ago•0 comments

The hallmarks of protein and amino acid restriction in aging and longevity

https://www.cell.com/cell-press-blue/fulltext/S3051-3839(26)00077-0
1•simonebrunozzi•30m ago•0 comments

Sure mate, buy me a bloody coffee

https://peateasea.de/sure-mate-buy-me-a-bloody-coffee/
2•speckx•32m ago•0 comments

The AI Bailout Could Be Baked into the AI Bubble

https://prospect.org/2026/08/03/ai-bailout-could-be-baked-into-bubble-private-equity-life-insurer...
4•Ambolia•33m ago•0 comments

Rust Project goals 2026: Reflection and Comptime

https://github.com/rust-lang/rust-project-goals/blob/main/src/2026/reflection-and-comptime.md
1•Ygg2•33m ago•1 comments

How Many People Are in Space Right Now

https://www.howmanypeopleareinspacerightnow.com/
3•EndXA•34m ago•0 comments

"Shock from Jensen Huang's Bubble Will Be Severe"

https://news.sbs.co.kr/english/article.do?news_id=N1008688017
3•mapping365•34m ago•0 comments

Why Everything Is Getting Louder

https://www.theatlantic.com/magazine/archive/2019/11/the-end-of-silence/598366/
3•bookofjoe•36m ago•2 comments

SEC Semi-Annual Reporting Proposal Tracker

https://tzachizach.github.io/sec-semi-annual-proposal-tracker/letters.html
1•petethomas•36m ago•0 comments

HedgeHog: The new standard in backgammon analysis

https://hedgehog-bg.com/frontpage
2•twright•37m ago•0 comments

Games of FIFA World Cup 2026

https://siddhesh.substack.com/p/wc26
1•weekendvampire•37m 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.