To clarify the offset point:
It’s not just about pointers, it’s useful any time you have an “edge” that you want to start from, and you want to e.g. loop through something and get an offset point from that edge.
For example, when drawing in love2d or pico8, I may want to draw at x + offset_x, and calculating offset_x will be easier if the first element’s index is 0, since I can do index * multiplier to get the offset.
(I literally just ran into this today. It’s not hypothetical but practical.)
Sent from Mail for Windows
Offset is actually what can't relate to Lua. Lua doesn't have pointers for offset being useful.
On 15 Nov 2021, 01:17 +0300, Steven Degutis <firstname.lastname@example.org>, wrote: