79571555

Date: 2025-04-13 12:56:25
Score: 3
Natty:
Report link

It's different from C++ references. In Go, it's an actual copy of the value, not a reference to the original element in the slice.

When you iterate over a slice with range in Go, the variable v is reused for each iteration - it's not creating N separate variables.

Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Eren