Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Swift is like Kotlin. Parent comment
Also, inclusive doesn't allow you to specify empty ranges. That may mean having to add if statements to your code, making it uglier.
I would prefer using notations [m,n) and [m,n], even though that uses a notation used in mathematics for a set to specify a sequence.
Of course, one would want (m,n) and (m,n], too, then, but that first one probably would make parsing your language difficult.
There are no comments on this comment yet.
Also, inclusive doesn't allow you to specify empty ranges. That may mean having to add if statements to your code, making it uglier.
I would prefer using notations [m,n) and [m,n], even though that uses a notation used in mathematics for a set to specify a sequence.
Of course, one would want (m,n) and (m,n], too, then, but that first one probably would make parsing your language difficult.