frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The Soft Machine (1961)

https://www.semiovox.com/articles/2026/03/05/the-soft-machine/
1•windows1000•1m ago•0 comments

Is OpenCode Go a Scam?

https://www.youtube.com/watch?v=S0m_rEukNKM
1•alvivar•6m ago•0 comments

WiCi: Connecting GPUs over WiFi

https://wici.ai
1•shubham0204•6m ago•1 comments

Design systems for agents

https://design.how
1•handfuloflight•8m ago•0 comments

Show HN: Analog Video Feedback Fractals

https://www.youtube.com/watch?v=znkzM9-FVzw
1•i2pi•11m ago•0 comments

Formalities

https://pluralistic.net/2026/10/31/burn-berne/
2•dgudkov•12m ago•1 comments

Eulogy for the Software Engineer [video]

https://www.youtube.com/watch?v=uuKOXGVIP8I
2•mhsdef•15m ago•0 comments

Ask HN: Old experimental website that made photos sing?

1•jesuisdieu•18m ago•0 comments

RequestRocket Promo Key

https://requestrocket.com
1•geoicons•37m ago•1 comments

Doop

https://doop.design/
1•handfuloflight•40m ago•0 comments

What Happened to the TI-83? Sold to Every Student in 1996 Then Destroyed Itself

https://www.youtube.com/watch?v=X9YqHX0Twg4
1•cable2600•45m ago•0 comments

RustDrop – privacy-first P2P file transfer for your LAN (Rust)

https://github.com/hakuxyz/rustdrop
1•xyzhaku•46m ago•0 comments

How AI may drive union-resistant tech workers to the bargaining table

https://www.theguardian.com/technology/2026/jul/21/ai-tech-workers-unionize
1•civilchaos•47m ago•0 comments

Avoid Public Functions Calling Other Public Functions

https://matklad.github.io/2026/10/29/pub-calls-pub.html
3•birdculture•52m ago•0 comments

Wikimedia Foundation amicus brief regarding OpenAI [pdf]

https://commons.wikimedia.org/w/index.php?title=File%3A26.10.29_WMF_motion_and_amicus_In_re_OAI.p...
1•gnabgib•54m ago•0 comments

Amazon made the AUX input on older Alexa devices less useful

https://www.engadget.com/2300219/amazon-made-alexa-devices-aux-port-less-useful/
3•NordStreamYacht•56m ago•0 comments

The Elephant-Goldfish Model plugin for spec-driven AI development

https://opensource.googleblog.com/2026/10/introducing-elephant-goldfish-model-plugin.html
1•derekleeth•56m ago•0 comments

Show HN: Vela, a New Linux Desktop Environment

https://velade.org/blog/vela-0-1/
3•BrandoDev_it•1h ago•0 comments

Bashttpd: A web server written in bash

https://github.com/avleen/bashttpd
1•denysonique•1h ago•0 comments

Wikimedia Foundation Tries to Save Itself by Brokering AI Copyright Deal

https://gizmodo.com/wikimedia-foundation-tries-to-save-itself-from-oblivion-by-brokering-ai-copyr...
5•CharlesW•1h ago•0 comments

Tell HN: ChatGPT and Codex usage will be combined

4•FergusArgyll•1h ago•3 comments

Analysts find looming launch crisis is "more severe" than anticipated

https://arstechnica.com/space/2026/10/analysts-find-looming-launch-crisis-is-more-severe-than-ant...
1•rbanffy•1h ago•0 comments

Toit v2.0.0

https://toit.io/blog/toit-v2-0-0/
2•floitsch•1h ago•0 comments

Docsferatu: An agent that drafts docs PRs while you sleep

https://www.inngest.com/blog/docsferatu-an-agent-that-drafts-docs-prs-while-you-sleep
1•Linell•1h ago•0 comments

Treatments for age-related infertility are being developed at last

https://www.economist.com/science-and-technology/2026/10/26/treatments-for-age-related-infertilit...
2•Anon84•1h ago•0 comments

Supersonic airliner in doubt as company shifts to powering AI data centers

https://arstechnica.com/gadgets/2026/10/united-airlines-ceo-doubts-supersonic-airliner-from-boom-...
2•rbanffy•1h ago•0 comments

Show HN: Bobby – Over Engineering PR Reviews

https://bobby.viraj.computer/
1•angrybayblade•1h ago•0 comments

Show HN: BBRouter – Ben Eater's 8-bit computer, simulated on 3D breadboards

https://bbrouter.com/bbrouter/ben-eater-sap-1
3•creack•1h ago•0 comments

Donnie Darko: A Mind-Twisting Cult Classic Turns 25

https://www.nytimes.com/2026/10/26/movies/donnie-darko-oral-history-25-year-anniversary.html
5•gnabgib•1h ago•1 comments

Honest Government Ad – AI Data Centres [video]

https://www.youtube.com/watch?v=kON2ZI2BNj8
2•SockThief•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.