Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Julia 1.9.0 lives up to its promise. Parent comment
And in Julia, it’s
length(a:b)
length(a:x:b)
There are no comments on this comment yet.
And in Julia, it’s
which also works with non-unit step sizes like The intent of these expressions seems clearer than the intent of `b-a` and `ceiling((b-a)/x)` with your proposed approach in a zero-indexed language.