frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Services Masquarading as Software 30x30

https://www.silverbackcto.com/
1•dudemanAtl•58s ago•0 comments

Show HN: NostalgiApp – A LaunchBox-style game launcher for macOS

2•jupe69•2m ago•0 comments

The Return of the Unix Workstation (Now with AI)

https://jasoneckert.github.io/myblog/return-of-the-unix-workstation/
1•ingve•3m ago•0 comments

The Return to Analog

https://www.rickmanelius.com/p/the-return-to-analog
1•mooreds•4m ago•0 comments

AAuth Protocol Explorer

https://explorer.aauth.dev/
1•mooreds•4m ago•0 comments

Prefer Terraform Module Composition over Inheritance (2025)

https://newsletter.masterpoint.io/p/prefer-module-composition-over-inheritance
1•mooreds•5m ago•0 comments

Embrace, Extend, Extinguish?

http://eee.fyi/
2•pie_flavor•8m ago•0 comments

Entity Component Systems FAQ

https://github.com/SanderMertens/ecs-faq
2•tosh•10m ago•0 comments

Ask HN: What sci fi books are you reading now?

2•pianetanaif•12m ago•1 comments

Microsoft Lead: "AI Will Never Replace Coders, Here's Why" [video]

https://www.youtube.com/watch?v=CPrePbvbbic
4•tosh•18m ago•0 comments

We accidentally recreated old Facebook

https://amrshawky.com/posts/we-accidentally-recreated-fb/
1•amr_shawky•19m ago•0 comments

Detecting PostgreSQL optimization issues with deterministic analysis

https://beh74.github.io/pgassistant-blog/post/global_advisor/
1•bertrandhartwig•19m ago•0 comments

Scientists warn Atlantic current at risk of shutting down

https://e360.yale.edu/features/amoc-climate-change
32•ambigious7777•21m ago•4 comments

Visualizing LLM embeddings on a sphere

https://github.com/dbyter/sphere-embed
1•ahmedhawas123•22m ago•1 comments

Boilerplate to create a 1990s Geocities-style website

https://sugardaddyapp.github.io/geocities-boilerplate/
1•whatsupdog•23m ago•1 comments

Hacking Police Robot Dogs [video]

https://www.youtube.com/watch?v=lA8WuXDXfcI
1•Jn2G3Np8•25m ago•0 comments

Russia Restricting Access to GitHub

https://twitter.com/polidemitolog/status/2053493261633720827
6•miohtama•27m ago•0 comments

Show HN: We built a tool to dub any video in the original voice in 30 languages

1•ABSALOMMAXY•30m ago•1 comments

AI Learns to Play Pokémon Go on AI Sandboxes

https://zozo123.github.io/pokeloop/
1•zozo123-IB•32m ago•0 comments

Map of every park in Salt Lake City

https://saltlake.citycast.fm/parks
1•bencornia•33m ago•0 comments

The Fall of the Theorem Economy

https://davidbessis.substack.com/p/the-fall-of-the-theorem-economy
3•magoghm•33m ago•0 comments

Do City Delivery Drones Make Sense? No One Knows, but They're Flying over NYC

https://www.wired.com/story/do-city-delivery-drones-make-sense-no-one-knows-but-theyre-flying-ove...
1•Brajeshwar•37m ago•0 comments

B-tree based collection types for Go

https://github.com/tidwall/btype
4•eatonphil•37m ago•0 comments

Chrome's AI features may be hogging 4GB of your computer storage

https://www.theverge.com/tech/924933/google-chrome-4gb-gemini-nano-ai-features
11•birdculture•38m ago•4 comments

Its the Age of Electricity and America Isn't Ready

https://www.nytimes.com/interactive/2026/04/27/opinion/electricity-power-grid-infrastructure.html
3•anjel•39m ago•1 comments

TikZlings – A collection of cute little animals and similar creatures

https://ctan.org/pkg/tikzlings?lang=en
1•Tomte•43m ago•0 comments

Why payment escrow for AI agents needed a different design

https://streetai.org/blog/escrow-for-ai-agents.html
2•degutemesgen•44m ago•0 comments

A super simple tool tells you who called the function and who implemented it

https://github.com/meloalright/who-ast
3•meloyc•45m ago•0 comments

Proposed Amendment to the Telephone Consumer Protection Act of 1991

https://www.karlbunch.com/random/website-protection-act/
2•kator•46m ago•1 comments

OSS Review Toolkit

http://oss-review-toolkit.org/ort/
2•Tomte•52m 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.