frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

A simpler way to organize your work – Workflowy

https://workflowy.com/
1•Tomte•2m ago•0 comments

I wish you the best in the Offline

https://daverupert.com/2026/09/i-wish-you-the-best-in-the-offline/
1•birdculture•5m ago•0 comments

The problem is noise, not N: why increasing the sample size isn't all that

https://statmodeling.stat.columbia.edu/2026/10/10/the-problem-is-noise-not-n-why-increasing-the-s...
1•Tomte•6m ago•0 comments

Token Meter

https://splunk.github.io/token-meter/
1•saikatsg•7m ago•0 comments

Audit the Market Before Building the Page

https://notemplate.online/?lang=en
1•andruskoch•10m ago•0 comments

Vow: Declare the packages and dotfiles your machines should have (without Nix)

https://github.com/Houdiee/vow
1•Houdiee•12m ago•0 comments

Stump the Chump with Adam Savage [video]

https://www.youtube.com/watch?v=_wGk4kFX_IA
1•skibz•19m ago•0 comments

3rd Yandex Cloud Data Center Was Hit

https://status.yandex.cloud/en/incidents/2136
3•defly•24m ago•0 comments

Wealth Inequality

https://garyseconomics.org/introduction/
2•haizhung•25m ago•0 comments

Show HN: RemoveMacAI 1.0, a Mac app to turn off Apple Intelligence on macOS 27

https://omlahore.github.io/RemoveMacAI/
1•onyx47•30m ago•0 comments

Show HN: Modelship – an open source ray backed model cluster

https://github.com/modelship-ai/modelship
1•Alez007•30m ago•0 comments

Hibana-QUIC: QUIC in Rust using choreographic programming, no_std and no_alloc

https://github.com/hibanaworks/hibana-quic
1•o8vm•30m ago•0 comments

Optogenetics wins the Nobel – breakthrough helping map and control the brain

https://theconversation.com/optogenetics-wins-the-nobel-one-neuroscience-breakthrough-in-a-line-o...
1•bryanrasmussen•38m ago•1 comments

Ex-Anthropic's Jacob Coxon says he's 90% certain PRC has spies in US AI giants

https://finance.yahoo.com/technology/ai/articles/ex-anthropic-researcher-jacob-coxon-220000427.html
1•nephihaha•39m ago•1 comments

We're still figuring out the side effects of GLP-1 weight-loss drugs

https://www.technologyreview.com/2026/10/09/1146094/were-still-figuring-out-the-side-effects-of-g...
2•joozio•45m ago•0 comments

Lots and Lots of Control Panels

https://kottke.org/26/10/lots-and-lots-and-lots-of-control-panels
2•msalsas•47m ago•0 comments

Megakernels on Mac: What Fusion Saves and What It Costs

https://abhishek.it/blog/how-megakernels-work-and-how-to-build-kernels-for-mac
1•frostbyte7•50m ago•0 comments

Show HN: Small web app to memorize Korean words

https://game.tolearnkorean.com/
1•bryanhogan•58m ago•0 comments

Movie Review: Levels (2024)

https://www.nerdly.co.uk/2024/11/15/levels-review/
1•walterbell•59m ago•0 comments

RF BrainScan getting out at UN now?

3•Dabbling_Dion•1h ago•1 comments

Makaton

https://en.wikipedia.org/wiki/Makaton
1•nomilk•1h ago•0 comments

MD5 Research Challenge

https://solveathome.org/projects/md5
1•jonbaer•1h ago•0 comments

Replaced

https://ghuntley.com/replaced/
2•kaeruct•1h ago•0 comments

Opus Core 1.2 is now available

1•pragidi•1h ago•0 comments

Lovable Style Builder via CF Inference GLM-5.3, Kimi K2.7 Code and GLM-5.3 Flash

https://mainbrella.com/blog/lovable-style-builder-cloudflare-inference/
2•cs1996•1h ago•1 comments

Show HN: Bob

https://bob.spif.fyi/
1•androsynth89•1h ago•2 comments

SQLite 3.54.0 Released

https://sqlite.org/releaselog/3_54_0.html
4•thunderbong•1h ago•0 comments

AI's leaders (probably) aren't faking their fear

https://www.vox.com/politics/505834/ai-doom-anthropic-openai-pr
3•simianwords•1h ago•0 comments

Orkut: You deserve better from social media

https://orkut.com/en/
1•yarapavan•1h ago•1 comments

From WordPress to Astro: Zero Maintenance, Maximum Control

https://www.mikeroberto.com/wordpress-astro-migration
1•larrysalibra•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.