frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The 'Silver Label' Commodore 64: The Beginning of a Legend

https://www.amigalove.com/viewtopic.php?t=3079
1•erickhill•2m ago•0 comments

'Starlog' Magazine Returns with First Cover in 17 Years

https://www.hollywoodreporter.com/business/business-news/starlog-magazine-returns-with-first-cove...
1•rdmuser•4m ago•0 comments

U.S. Cleared Nvidia Chips to Chinese Firms with Empty Offices and Troubling Ties

https://www.nytimes.com/2026/11/07/business/economy/nvidia-chips-chinese-firms.html
2•porridgeraisin•12m ago•0 comments

Show HN: SafeScript, a safe version of JavaScript for executing untrusted code

https://github.com/SafeScript/safescript
1•EGreg•14m ago•0 comments

Show HN: A kernel written in Rust that can boot Ubuntu with Plasma desktop

https://github.com/ozkl/ruxis
1•ozkl•14m ago•0 comments

Piezoelectric toothbrush reduces plaque

https://www.science.org/doi/10.1126/sciadv.aeg5744
1•Gaishan•15m ago•0 comments

Ask HN: What are you working on? (November 2026)

5•david927•20m ago•3 comments

Surnames

https://dogdogfish.com/blog/2026/11/08/surnames/
2•matthewsharpe3•22m ago•0 comments

Microseason.app

https://www.microseason.app
2•mfix22•24m ago•1 comments

Future startup ideas, excavated from science fiction

https://absurd.website/startup-archaeology/
1•thunderbong•26m ago•0 comments

Welcome to Boulder Ruby

https://boulder-ruby.org/
1•mooreds•26m ago•0 comments

Nvidia launches investigation into CEO's affair with suspected Chinese spy

https://www.bbc.co.uk/news/articles/c3dxw10rjn9no
7•haritha-j•30m ago•1 comments

There Is No Place in a Functional Society for Elon Musk

https://defector.com/there-is-no-place-in-a-functional-society-for-elon-musk
6•HotGarbage•34m ago•0 comments

UK Government 'looking seriously' at banning under-16s from Vinted and eBay

https://www.bbc.co.uk/news/articles/cmzxjvpqrjxro
4•Lio•34m ago•3 comments

Making profile-guided optimization reproducible

https://fzakaria.com/2026/11/07/making-profile-guided-optimization-reproducible
1•ingve•35m ago•0 comments

Mstein – Ich klau den RAM

https://www.youtube.com/watch?v=8kd67EQaieU
1•amai•37m ago•0 comments

Nvidia's Jensen Huang admits to affair with Chinese spy

https://www.ft.com/content/1397e2f4-d7f5-4cbb-a4d9-04ecf661d1aa
10•zaki_01•37m ago•1 comments

You can no longer (un-)star archived GitHub repositories

https://joshua.hu/github-cannot-star-archived-repository
2•mmsc•39m ago•0 comments

Map of Science

https://sciencemap.eto.tech/
1•hexhu•41m ago•0 comments

Save Our Screen: Generated Art for Samsung Frame TVs

https://screensaver.specr.net/
1•memalign•41m ago•0 comments

Ask HN: Anyone here does cold email?

1•dontoni•41m ago•0 comments

Meta's Charm gadget carries CEO Zuckerberg's big AI ambitions

https://tech.yahoo.com/ai/meta-ai/articles/metas-charm-gadget-carries-ceo-043955979.html
1•gmays•42m ago•0 comments

What Anthropic's IPO Filing Says About the Future of A.I

https://www.nytimes.com/2026/10/30/opinion/anthropic-ipo-ai.html
3•edward•43m ago•0 comments

Crows Make Decisions Twice as Fast as Humans

https://scitechdaily.com/scientists-discover-crows-make-decisions-twice-as-fast-as-humans/
1•Gaishan•45m ago•0 comments

The problem with Micron MT 4264 RAM

https://dfarq.homeip.net/the-problem-with-micron-mt-4264-ram/
1•nsoam•45m ago•0 comments

*sshole

https://sshhole.com/?
1•stefanv•48m ago•2 comments

Offline context-aware dictation without screenshots, LLMs or fine-tuning

https://morethanamachine.com/posts/handy-context/
1•reddmachine•53m ago•0 comments

Beyond code generation: A developer's guide to agentic engineering

https://github.blog/ai-and-ml/github-copilot/beyond-code-generation-a-developers-guide-to-agentic...
1•andrewstetsenko•54m ago•0 comments

How to Build a Bridge to a 'Rogue Silo' Team

https://paulitaylor.com/2026/03/13/how-to-build-a-bridge-to-a-rogue-silo-team/
1•andsoitis•56m ago•0 comments

Building Your Own DSL

https://medium.com/@robertdennyson/building-your-own-custom-dsl-a-comprehensive-guide-9be7bb70524d
1•andsoitis•57m 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.