Hey I'm newer to Go and would like to learn more about this. When would the byte count vs char count be different using len()?
len()
No need for sorting here. Check length of strings instead. Simplicity & readability is king!
Loading collection data...
Hey I'm newer to Go and would like to learn more about this. When would the byte count vs char count be different using
len()
?No need for sorting here. Check length of strings instead. Simplicity & readability is king!