Thank you for sharing your thoughts. My original thinking behind all this
is that just like gofmt enforces one consistent style for all programs, it
may be nice to just have one consistent format for slicing an array that
starts at zero. One less thing to bikeshed. However, since gri feels
there are cases where explicit zeroes are useful to readability, I defer to
him.
Thank you both.
Rob (not Griesemer or Pike... I wish, ha :)
On Tuesday, October 1, 2013 1:59:24 PM UTC-5, andrey mirtchovski wrote:
2) Can you give me a small sample where including the explicit 0 helps code
become more readable or pedagogic?
i'm not a robert, but i'll reply:2) Can you give me a small sample where including the explicit 0 helps code
become more readable or pedagogic?
http://blog.golang.org/slices
---
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.