zlacker

[parent] [thread] 0 comments
1. stouse+(OP)[view] [source] 2024-02-24 21:28:07
Yes, but now I have to keep track of which functions invalidate-and-return and which return nil. If I forget that `slices.Delete` returns a new slice instead of mutating in-place, the language doesn’t help me.
[go to top]