Any particular up to date course out there? Or another useful source out there to learn it from?

  • who@feddit.org
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 months ago

    If you already know at least one programming language, you might start with the official Tour of Go. I appreciate its succinct simplicity. Along with a few official blog posts and the standard library docs, it was enough to get me writing useful code.

    https://go.dev/tour/

    https://go.dev/blog/slices
    https://go.dev/blog/strings

    https://pkg.go.dev/std

    (To be fair, I’ve been programming for quite a while. Someone unfamiliar with the concepts that Go uses might need a more substantial tutorial.)

      • who@feddit.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        1 month ago

        Fair enough. I didn’t recommend those because:

        The spec is far more detailed than necessary to get started with the language. Having to slog through it just to get the basics would have put me off, so I was relieved to find the Tour.

        While the documentation page’s articles might be useful, I was disappointed with their writing. As an experienced programmer, I found the ones I read immensely boring and disrespectful of my time, because they have a lot of plodding verbiage explaining already-familiar concepts and often restating sentences from just one or two lines earlier. Meanwhile, other ideas are illustrated using (for example) C pointer syntax instead of explaining, which is clear to me, but would likely frustrate someone unfamiliar with that syntax. The authors seem unable to decide who their target audience is.