...

/

Puzzle 14 Explanation: Short Variables

Puzzle 14 Explanation: Short Variables

Understand why multiple variable declarations matter.

We'll cover the following...

Try it yourself

Try running the code below to see the result.

Press + to interact
package main
import (
"fmt"
)
func main() {
a, b := 1, 2
b, c := 3, 4
fmt.Println(a, b, c)
}

Explanation

In Go, the short ...

Access this course and 1400+ top-rated courses and projects.