Comment

Comment by microtherion

0..<15 is a range of numbers from 0, up to but not including 15. 0...15 is the corresponding range including 15.

I find this notation slightly clearer than the python version. It took me some time to remember whether range(15) includes 15 or not.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton