|
|
|
|
|
by lsaferite
491 days ago
|
|
I say this as someone working with go every day. The fact that I can pass a slice to a func 'by value' and mutate the source slice outside the func is already surprising behavior to most people. The fact that it MIGHT mutate the source slice depending on the slice capacity is the part that really drives it home as bad ergonomics for me. Overall I enjoy working with go, but there are a few aspects that drive me up the wall, this is one of them. |
|