[GTALUG] Learning Go
William Park
opengeometry at yahoo.ca
Sun Oct 20 23:23:23 EDT 2024
I'm now going through "tour of go" (go.dev/tour), keeping "spec"
(go.dev/ref/spec) and "standard library" (pkg.go.dev/std) open in other
tabs for reference.
One thing I find irritating is that variable comes first and then its
type. This is stopping the flow of my reading. Too used to C.
--
On 2024-10-13 23:28, William Park via talk wrote:
> Dear Go experts,
>
> I finally decided to dive into Go. Searching around "go.dev", I can't
> seem to find proper introduction, suitable for C programmer. Can
> someone point me to where it might be buried?
>
> I want the usual introduction, starting with
> - data types, variables, data structures
> - syntax (Go seems to use more symbols than C)
> - if-then, loops, functions, etc.
>
> Eg. I started with
>
> func main() {
> code, text := fmt.Print ("Print:", "hello", "world\n")
> code, text := fmt.Printf ("Printf: %s %s\n", "hello", "world")
> code, text := fmt.Println ("Println:", "hello", "world")
> }
>
> and got errors. I managed to figure it out, by trial and error. Not
> very efficient learning...
> ---
> Post to this mailing list talk at gtalug.org
> Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk
More information about the talk
mailing list