Post by Aaron Linnell

See my blog for my latest projects.

Array indexing behavior that would be unacceptably error-prone in a real language but makes perfect sense in DOL: Indexing with a positive number works normally except if it's out of bounds you get the last item. Indexing with a negative number indexes in reverse, if it's too negative it gets the first item. Indexing with zero is an error 😠