| ▲ | joaohaas 2 hours ago | |
I don't think naming convention is the kind of stuff that helps save tokens, specially considering how text is tokenized. On the other hand, being able to write 'list.filter(v => v.selected)' (or something similar) instead of:
would save much more tokens. | ||
| ▲ | maleldil an hour ago | parent [-] | |
You can have that with generic functions, although Go's lambda syntax is too verbose. The slices package has DeleteFunc, which is kind of the opposite. I don't know why they have Filter. | ||