frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

We Uncovered the Scheme Keeping Grocery Prices High [video]

https://www.youtube.com/watch?v=odhVF_xLIQA
1•dataflow•1m ago•0 comments

Show HN: iherb-CLI – An agent-optimized CLI for AI-driven supplement research

https://github.com/SeverinAlexB/iherb-cli
1•sebubu•2m ago•0 comments

Is End-to-End Encryption Optional for Large Groups?

https://soatok.blog/2026/02/14/is-end-to-end-encryption-optional-for-large-groups/
1•iamnothere•4m ago•0 comments

Defer Available in GCC and Clang

https://gustedt.wordpress.com/2026/02/15/defer-available-in-gcc-and-clang/
2•ingve•5m ago•0 comments

USB overclock Linux kernel module

https://github.com/p0358/usb_oc-dkms
1•rhim•6m ago•0 comments

AI-enabled stethoscope twice as efficient at detecting heart disease

https://www.escardio.org/news/press/press-releases/ai-stethoscope/
1•geox•9m ago•2 comments

Show HN: Nomousemode – keyboard window switcher for macOS

https://nomousemode.vercel.app/
1•ahalurooji•11m ago•0 comments

Utah homes are 3.5x the size of the typical British one

https://brilliantmaps.com/home-size-us-europe/
2•delichon•11m ago•2 comments

Show HN: Please hack my C webserver (it's a collaborative whiteboard)

https://ced.quest/draw/
1•cedric_h•13m ago•0 comments

Show HN: Refine.tools – 10 free AI career tools, no signup, no data stored

https://www.refine.tools/
1•HarakiriGod•15m ago•0 comments

Situate Your Essay

https://www.overcomingbias.com/p/situate-your-essay
2•paulpauper•16m ago•0 comments

The Philosopher of Games

https://www.honest-broker.com/p/the-philosopher-of-games
1•paulpauper•16m ago•0 comments

MicroFab – Chip Automation Game

https://microfabgame.co.uk
3•flirp•16m ago•1 comments

AI #155: Welcome to Recursive Self-Improvement

https://thezvi.substack.com/p/ai-155-welcome-to-recursive-self
3•paulpauper•16m ago•0 comments

Scientists observe a 300M-year-old brain rhythm in several animal species

https://phys.org/news/2026-01-scientists-million-year-brain-rhythm.html
5•PaulHoule•18m ago•0 comments

Experiments with CodeMirror: Building a code review tool

https://aziis98.com/blog/codemirror-review-tool/
2•todsacerdoti•18m ago•0 comments

PieArena: Language Agents Beat Yale MBAs at Negotiation

https://sashacui.substack.com/p/piearena-language-agents-negotiating
2•SashaCui•19m ago•1 comments

Shingles Vaccine Linked to Slower Biological Aging in Older Adults

https://gero.usc.edu/2026/01/19/shingles-vaccine-slower-biological-aging/
2•andsoitis•19m ago•0 comments

Show HN: AI-Evals.io – Evaluate this site with the tools it reviews

https://ai-evals.io/
2•alexhans•20m ago•0 comments

Ask HN: Post your visitor analytics – OS

2•gethly•20m ago•0 comments

Show HN: FunWithText – Free browser PII sanitizer and prompt injection scanner

https://funwithtext.com/pii-sanitizer.html
2•atbj•21m ago•0 comments

Show HN: I wrote a book about Angel Investing in the age of AI

https://www.amazon.de/Angel-Investors-Playbook-Age-Early-Stage/dp/B0GLJM6S2S/ref=sr_1_1?crid=2Y8V...
2•Patrick_Mebus•23m ago•0 comments

Using Claude for Spellchecking and Grammar

https://kodare.net/2026/02/15/using-claude-for-spell-checking.html
1•boxed•25m ago•0 comments

Show HN: ai11y – A structured UI context layer for AI agents

https://github.com/maerzhase/ai11y
1•maerzhase3000•26m ago•1 comments

Liberals: Alas, the Time Has Come to Throw John Rawls Under the Bus

https://newrepublic.com/article/199273/john-rawls-liberals-philosopher-bus-neutrality
1•bryanrasmussen•26m ago•0 comments

NasmJF Forth

https://ratfactor.com/nasmjf/
1•tosh•27m ago•0 comments

The true history of the Minotaur: what archaeology reveals

https://www.nationalgeographic.fr/histoire/la-veritable-histoire-du-minotaure-ce-que-revele-arche...
1•joebig•28m ago•0 comments

Show HN: Built an webpage to show Singaporean infra and laws

https://github.com/adityaprasad-sudo/ExploreSingapore
2•Goodguy27•28m ago•1 comments

Show HN: Microgpt is a GPT you can visualize in the browser

https://microgpt.boratto.ca
2•b44•29m ago•0 comments

Show HN: Custom ML model – if Spotify was instrumental

https://instr.io/
1•day6•30m 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.