3 ms·
Looking at the syntax (as a Go beginner), I'm not really sure whether that's less or more to learn. Seems like one of those arbitrary language design decisions
by ResidentSleeper 6y ago
Looking at the syntax (as a Go beginner), I'm not really sure whether that's less or more to learn. Seems like one of those arbitrary language design decisions that don't make a huge difference either way.
- kevincox 6y agoYup. They saved a keyword or two but now you need to count the semicolons to see if there is an increment action. I don't think it makes a big difference either way.
- EdwardDiego 6y agoYeah when I picked up Go, the infinite loop caught me by surprise: for { ... }
- klyrs 6y agoLooks like a minor simplification of for (;;) { ... } I'm biased by my experience with c, but I do like the explicit punctuation.