Going Backward
Summary
A Go-focused blog post exploring multiple implementations of a backward slice iterator, starting from a simple copy-based approach and progressively adding laziness, callbacks, and typed iterators. It covers Go generics, the ~ syntax for constrained slices, and the rationale behind Go's standard library design choices, ending with reflections on complexity versus simplicity.