in golang, strings are immutable. thus, if i want to modify a string in 
place, i'll need to cast or copy each element from the string to a similar 
but mutable data structure. this seems inefficient for simple command line 
programs that take input from stdin and access it through os.Args. can 
somebody please explain to me when a function should to return a string as 
opposed to, say a []byte? thanks

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to