Go Programming Language Introduction

Go Programming Download Go is a great first language to learn. It’s simple and clear compared to other more difficult programming languages. Go is an open source programming language that makes it easy to build simple, reliable, and efficient software. Visit Go's website https://golang.org/

What is a computer program?

A sequence of statements that tell a computer how to do something useful.

start → first statement → next statement → more statements → end

Each statement changes the state of the program until it is finished.


Why do we use a programming language?

A programming language allows a human to communicate with a computer. It allows us to talk to a computer using our native language.

What are variables?

Think of a variable as a container that holds a value of a certain type.

  • x = 1262
  • x + 1 = 1263
  • today = true

Primitive types in Go

There are the primitive types that Go uses.

  • Integer
  • Float
  • String
  • Boolean

Go is a statically typed language. When declaring a variable, you must declare its type. Here are declare variables x, y, and z.

  • var x string = “Hello”
  • var y int = 1263
  • var z bool = false



Visit sunny St. George, Utah, USA