5
you are viewing a single comment's thread
view the rest of the comments
[-] who@feddit.org 3 points 1 day ago* (last edited 1 day ago)

This is a thinly veiled advertisement.

tl;dr: The length of a slice is not a valid index into that slice.

Of course. Because Go uses zero-based indexing, just like many other languages.

this post was submitted on 16 Jul 2026
5 points (77.8% liked)

Golang

2709 readers
5 users here now

This is a community dedicated to the go programming language.

Useful Links:

Rules:

founded 3 years ago
MODERATORS