frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

How to write good prompts: using spaced repetition to create understanding

https://andymatuschak.org/prompts/
1•StefanBatory•59s ago•0 comments

The AI UGC ad math: $2 a video, and the bill nobody prices in

https://okaneland.com/study/ai-ugc-ad-economics/
1•ermantrout•2m ago•0 comments

Jacobian-lens – Companion code for the global workspace interpretability paper

https://github.com/anthropics/jacobian-lens
1•Topfi•3m ago•0 comments

Mild Cardiac Issues Trigger Long-Term Memory Loss

https://neurosciencenews.com/heart-dysfunction-microscopic-brain-decay-30995/
1•bookofjoe•4m ago•1 comments

Four US states are seeking $1.4T in penalties in August youth safety trial

https://www.reuters.com/business/meta-says-us-states-are-seeking-14-trillion-penalties-august-you...
1•elsewhen•5m ago•0 comments

Blue Earth Bathymetry 2.0

http://www.shadedrelief.com/blue-earth-2/
2•marklit•6m ago•0 comments

Show HN: Time Series of India – explorable stories from official payment data

https://timeseriesofindia.com/economy/beats/
1•prtk25•8m ago•0 comments

You shouldn't trust Trusted Publishing

https://blog.yossarian.net/2026/07/07/You-shouldnt-trust-trusted-publishing
2•woodruffw•8m ago•0 comments

AI Still Can't Get Mario's Mustache Right

https://mustache-perfect.vercel.app/
1•nnehdi•9m ago•1 comments

An iroh powered smart fan

https://www.iroh.computer/blog/an-iroh-powered-smart-fan
2•surprisetalk•11m ago•0 comments

Show HN: TrustAI – Suggests and executes automations in bg

https://auto.trytrust.ai/
1•hannahchung•11m ago•0 comments

Setting Up OpenClaw with 100M free tokens via Dahl Global

https://medium.com/@bozicjmasonu4kwfy/a-practical-openclaw-provider-setup-with-dahl-and-gonka-mod...
3•litppicho•13m ago•0 comments

A verification loop 4x'd DeepSeek's intelligence, matching Opus at 1/7 the cost

https://ironbee.medium.com/what-a-verification-loop-adds-to-a-coding-agent-a-first-look-5049017e636e
4•sozal•13m ago•0 comments

Ask HN: How do I find startups hiring developers for low pay and equity?

3•Kathan2651•16m ago•2 comments

EU Cloud Service Providers List

https://www.eucloud.tech/en/eu-providers
1•pelagicAustral•17m ago•0 comments

Observability Design for the AI Era – App, Infra, CI, LLM (Part 1)

https://ryantsuji.dev/posts/ai-observability-design
1•ryantsuji•18m ago•0 comments

How to Ask Good Coding Questions That Get Great Answers (2016)

https://zellwk.com/blog/asking-questions/
2•mooreds•18m ago•1 comments

Show HN: Bastion – self-hosted VMs for background coding agents

https://github.com/bastion-computer/bastion
1•almostlit•19m ago•0 comments

ACM ByteCast Episode 2 Donald Knuth

https://learning.acm.org/bytecast/ep2-donald-knuth
1•Alien1Being•20m ago•0 comments

Get less visible and more European

https://bankosegger.me/blog/get-less-visible/
1•bankombinator•21m ago•0 comments

Managing Development Secrets on a Mac

https://www.yurikoval.com/blog/managing-development-secrets-on-a-mac.html
1•yurikoval•22m ago•0 comments

China's DeepSeek developing its own AI chip, sources say

https://www.reuters.com/world/china/chinas-deepseek-developing-its-own-ai-chip-sources-say-2026-0...
4•limoce•22m ago•0 comments

Long Lost Summers

https://olly.world/long-lost-summers
3•mooreds•22m ago•0 comments

Query Faster, Query Smarter: Our Move to DuckDB and What We Learned

https://medium.com/arcesium-engineering-blog/query-faster-query-smarter-our-move-to-duckdb-and-wh...
2•speckx•23m ago•0 comments

Show HN: Rememori zero-dependency agent memory that runs anywhere JS runs

https://rememori.dev
1•GiorgioDotcom•25m ago•0 comments

Use the alphabet: human-friendly geocoding, unlike what3words

https://ssrn.com/abstract=6879364
1•edmund_day•25m ago•1 comments

PDF 2.0: New Features, Real-World Impact

https://pdfa.org/pdf-2-0-new-features-real-world-impact/
1•Tomte•25m ago•0 comments

SMS for Hobbyist Projects

https://payne.org/projects/sms-for-hobbyists/
1•payne92•27m ago•1 comments

Show HN: DocFlow – AI documentation updates for GitHub pull requests

https://aicodedocumentationgenerator.com/
1•Aldasams•29m ago•0 comments

Fediverse.info: Social media that belongs to you

https://fediverse.info/
1•rapnie•31m 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.