Comment

Comment by throwaway894345

That’s interesting but seems pretty dangerous. How do you know you aren’t going to decrement off the front of the array? Keeping the pointer to the first element in the array and using offsets seems safer for humans and I don’t think the computer would care.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton