frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: A mobile-first React share sheet with native sharing

https://sharesheet.gwendall.com
2•ges•3m ago•0 comments

Ask HN: Tips for getting the ROM for an old speech synthesizer?

1•ctoth•3m ago•0 comments

Show HN: Karmic Tail Calculator – A Destiny Matrix Patterns

https://karmictail.net
1•lion__93332•4m ago•0 comments

Show HN: I forced Apple to admit a "Product Issue" using AI and CIA principles

https://medium.com/@ryu360i/when-authorization-breaches-availability-analyzing-the-27-2kb-icloud-...
1•ryuzaburo•4m ago•0 comments

PluriSnake gameplay [Sun Jan 11, 2025 puzzle] – Beta available [video]

https://www.youtube.com/watch?v=JAjd5HgbOhU
1•amichail•6m ago•1 comments

Ask HN: What was the best sci-fi book of 2025?

2•Erikun•7m ago•0 comments

I mapped out how debugging works during production incidents

https://nemorize.com/roadmaps/debugging-under-pressure
1•reverseblade2•8m ago•1 comments

Desperately Seeking Squircles (2018)

https://www.figma.com/blog/desperately-seeking-squircles/
2•kjeetgill•8m ago•0 comments

Show HN: AI Vibe Coding Hackathon

https://vibe.devpost.com
1•abdibrokhim•9m ago•0 comments

NCSA Mosaic 2.7, one of the first graphical web browsers

https://github.com/alandipert/ncsa-mosaic
1•stmw•12m ago•0 comments

guys why does armenian completely break Claude

https://twitter.com/dyushag/status/1993143599286886525
12•ag8•13m ago•3 comments

Systematically generating tests that would have caught Anthropic's top‑K bug

https://theorem.dev/blog/anthropic-bug-test/
2•jasongross•14m ago•0 comments

Sampling at negative temperature

https://cavendishlabs.org/blog/negative-temperature/
4•ag8•15m ago•0 comments

Show HN: Sunshine Optimist: Optimistic takes on daylight and sunset times

https://sunshineoptimist.com
1•willj•16m ago•0 comments

Worldview – persistent strategic context for Claude Code

https://www.extremeclarity.ai/worldview
1•faizanbhat•17m ago•1 comments

The Machinery of Terror

https://chrishedges.substack.com/p/the-machinery-of-terror
1•chmaynard•17m ago•0 comments

QR Spaces – One QR and custom domain to share all your links

3•iamgaazi•17m ago•2 comments

The Subtle Injury – Being pretty good

https://tevonsb.com/thoughts/subtle-injury/
2•tevon•17m ago•1 comments

From fragmented code to consistent output with AI rules

https://www.stromcapital.fi/blog/cursor-rules
1•ronistrom•19m ago•0 comments

Why (We Don't Need To?) Care About Debt-to-GDP?

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5271557
1•neehao•19m ago•0 comments

Show HN: A MCP for controlling terminal UI apps built with bubbletea and ratatui

https://github.com/michaellee8/mcp-tui-server
1•michaellee8•22m ago•0 comments

Green Waste: Inefficient Allocation of Green Subsidies

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6048714
1•neehao•22m ago•0 comments

Mississippi Transformed Its Schools from Worst to Best

https://www.nytimes.com/2026/01/11/us/mississippi-schools-transformation.html
1•ghaff•24m ago•1 comments

Exponential growth continued – cargo-semver-checks 2025 Year in Review

https://predr.ag/blog/cargo-semver-checks-2025-year-in-review/
1•todsacerdoti•24m ago•0 comments

LLMs – Part 2: Order Matters – Positional Encoding

https://vasupasupuleti.substack.com/p/llms-part-2-order-matters-positional
1•vpasupuleti10•30m ago•1 comments

LLMs – Part 1: Tokenization and Embeddings

https://vasupasupuleti.substack.com/p/llms-part-1-tokenization-and-embeddings
1•vpasupuleti10•31m ago•1 comments

AI's Bottleneck Isn't Models or Tools, It's Security

https://zkorman.com/posts/ai-bottleneck-is-security/12
1•chillax•33m ago•1 comments

Keeping 20,000 GPUs Healthy

https://modal.com/blog/gpu-health
1•susam•34m ago•0 comments

Canada's Scaling Problem Isn't Compute, It's Coastlines

https://zeitgeistml.substack.com/p/canadas-scaling-problem-isnt-compute
5•eh_tk•34m ago•1 comments

The Curious Case of Stack Pivot Detection

https://seclists.org/oss-sec/2026/q1/48
1•todsacerdoti•35m ago•0 comments
Open in hackernews

Avoid Continue

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

Comments

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