Comment

Comment by nextaccountic

in rust you would write (0 .. 99).sum() for range not including 99

or (0 ..= 99).sum() for range including the 99

which makes me think that i don't know how to read (0 to 99) unless i learn whether it's exclusive or inclusive (but at least it's googlable, unlike a random looking operator)

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton