FAQ

Am Montag, 6. April 2015 16:44:41 UTC+2 schrieb Russel Winder:
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 wrong
on all counts. This is why things like:

10.times

for _ in 1..10

and other variants have been chosen in other languages.
+1

--
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.

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 19 of 19 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedApr 3, '15 at 1:29a
activeApr 7, '15 at 7:50p
posts19
users15
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase