frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Why are we still so afraid of using the grumpy old period?

https://www.nytimes.com/2026/01/15/magazine/ending-sentences-period.html
1•samclemens•4m ago•0 comments

Washington State Bill Seeks to Add Firearms Detection to 3D Printers

https://hackaday.com/2026/01/19/washington-state-bill-seeks-to-add-firearms-detection-to-3d-print...
4•bilsbie•7m ago•0 comments

Should professors be forced to retire?

https://www.nature.com/articles/d41586-026-00055-4
1•Bender•10m ago•0 comments

I wrote a TTF-to-Texture function for SDL2

1•oldivygames•12m ago•0 comments

OpenStreetMap overwhelmed by bots scraping data

https://twitter.com/openstreetmap/status/2016320492420878531
7•molly_radstowe•13m ago•3 comments

Show HN: Chrome extension to keep Trello columns always visible across tabs

https://chromewebstore.google.com/detail/focus-column-for-trello/cohmampcfdlclcbjjoebjedojjophfmg
1•Ryanwalker64•17m ago•1 comments

Tesla lands major Semi charging deal with nation's largest truck stop operator

https://electrek.co/2026/01/27/tesla-lands-major-semi-charging-deal-largest-truck-stop-operator/
3•Bender•20m ago•0 comments

Who is using AI to code? Global diffusion and impact of generative AI

https://www.science.org/doi/10.1126/science.adz9311
1•pseudolus•20m ago•0 comments

Lendy – Keep track of books you have lended in a beautiful way

https://lendy.viraat.dev/
1•viraatdas•24m ago•1 comments

Ouroboros – AI agent framework that asks "why?" before writing code

https://github.com/Q00/ouroboros
1•q00•25m ago•1 comments

European States Claim Control over Russia's Shadow Fleet in the Baltic Sea

https://militarnyi.com/en/news/european-states-claim-control-over-russia-s-shadow-fleet-in-the-ba...
4•toomuchtodo•28m ago•1 comments

Transmission 4.1.0

https://github.com/transmission/transmission/releases/tag/4.1.0
6•nntwozz•29m ago•0 comments

Pinecone Explorer (OSS)

https://www.pinecone-explorer.com
1•arsentjev•30m ago•1 comments

Life on Peptides Feels Amazing

https://nymag.com/intelligencer/article/peptides-from-instagram-china-wellness-cure.html
2•md224•33m ago•2 comments

US population growth slows as immigration declines

https://www.reuters.com/world/us/us-population-growth-slows-immigration-declines-census-data-show...
13•geox•33m ago•1 comments

Australian plumber is a YouTube sensation

https://arstechnica.com/culture/2026/01/australian-plumber-is-a-youtube-sensation/
2•Bender•36m ago•0 comments

Write Games for Playdate in Golang

https://github.com/playdate-go/pdgo
6•AmorBielyi•38m ago•3 comments

TikTok blocks Epstein mentions and anti-Trump videos, users claim

https://www.the-independent.com/tech/tiktok-epstein-trump-censorship-ice-b2908309.html
7•emsign•38m ago•0 comments

Trinity Large: American Open Source Foundation Model

https://www.arcee.ai/blog/trinity-large
2•linolevan•38m ago•1 comments

Arcan Explained – A browser for different webs

https://arcan-fe.com/2026/01/26/arcan-explained-a-browser-for-different-webs/
1•birdculture•40m ago•0 comments

Pigsty v4.0: Observability Revolution and Security Hardening

https://blog.vonng.com/en/pigsty/v4.0/
1•l2dy•41m ago•0 comments

Drag Gestures on the Web

https://jakub.kr/work/drag-gesture
1•SouravInsights•45m ago•0 comments

Show HN: Privacy-First App Analytics for Swift and React Native

https://appsidekit.com/
1•Intragalactic•47m ago•0 comments

Driving on sunshine: Nissan celebrates clean energy day with solar‑powered Ariya

https://europe.nissannews.com/en-GB/releases/driving-on-sunshine-nissan-celebrates-clean-energy-d...
1•teleforce•48m ago•0 comments

Database Recovery Demystified: Understanding Aries from First Principles

https://yashagw.github.io/blog/db-recovery/
1•SouravInsights•51m ago•0 comments

Private Prisons Sued the State of Arizona for Not Having Enough Prisoners

https://hrnews1.substack.com/p/how-private-prisons-sued-the-state
12•williesmellson•54m ago•1 comments

Why A.I. Can't Make Thoughtful Decisions

https://www.nytimes.com/2026/01/25/opinion/ai-human-judgment.html
1•paulpauper•55m ago•0 comments

'Garden of Eden': the Spanish farm growing citrus you've never heard of

https://www.theguardian.com/environment/2026/jan/16/garden-of-eden-the-spanish-farm-growing-citru...
3•PaulHoule•55m ago•0 comments

Ask HN: What happens when AI coding crosses the human dev threshold

1•my10thhnaccount•56m ago•0 comments

Neocities Is Blocked by Bing

https://blog.neocities.org/blog/2026/01/27/bing-block
6•kyledrake•56m ago•0 comments
Open in hackernews

Avoid Continue

https://www.teamten.com/lawrence/programming/avoid-continue.html
2•todsacerdoti•9mo ago

Comments

zoezoezoezoe•9mo 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•9mo 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.