Hacker News new | ask | show | jobs
by ResidentSleeper 2139 days 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.
2 comments

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

Yeah when I picked up Go, the infinite loop caught me by surprise:

  for {
    ...
  }
Looks like a minor simplification of

  for (;;) {
     ...
  }
I'm biased by my experience with c, but I do like the explicit punctuation.