Strong typing isn't a good reason to lack this kind of thing - it's more likely because of Go's lack of generic types that it's unable to do this in a nice standardised manner. Rust's Iterator trait has a `.sum()` (or in this case a `.count()`)
Dec 1, 2021 ยท 2:17 PM UTC
1
