Am Montag, 6. April 2015 16:44:41 UTC+2 schrieb Russel Winder:
on all counts. This is why things like:
10.times
for _ in 1..10
and other variants have been chosen in other languages.
On Sun, 2015-04-05 at 14:01 -0700, Rob Pike wrote:
for i := 0; i < 10; i++
Short, simple, straightforward, clear, obvious, understandable, not a
puzzle, not cute, not confusing, just right, just do it.
Whilst this is the way it has to be done in Go, I think you are wrongfor i := 0; i < 10; i++
Short, simple, straightforward, clear, obvious, understandable, not a
puzzle, not cute, not confusing, just right, just do it.
on all counts. This is why things like:
10.times
for _ in 1..10
and other variants have been chosen in other languages.
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.