Comment

Comment by bobbylarrybobby

This isn't really unique to the walrus operator, it's just a general python quirk (albeit one I find incredibly annoying). `for i in range(5): ...` will leave `i` bound to 4 after the loop.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton