Golang from Scratch
Tudo o que você precisa saber para começar
O que veremos aqui hoje?
● A little history about Golang
● Syntax Highlights
● Go Everywhere
● Credits and Links
A little history about Go
A little history about Go
Why are you creating a new language?
“One had to choose either efficient compilation, efficient execution, or ease of programming; all three were not available in the same mainstream language.” - Go FAQ
A little history about Go
● 2007 - Robert Griesemer, Ken Thompson, and Rob Pike started the project.
● 01/2008 - Ken Thompson started the compiler
● 05/2008 - Ian Taylor start an GCC front end for Go.
A little history about Go
November 10, 2009
Now Go is an Opened Project.
04/2012 - Go 1.0 released
Principles of Go● Simplicity
Each language feature should be easy to understand.
● OrthogonalityGo’s features should interact in predictable and consistent ways.
● ReadabilityWhat is written on the page should be comprehensible with little context.
A little history about Go
Syntax Highlights
Syntax Highlights
● Clean Code
● Simple declarations
● Duck typing
● Useful Data Structures
Syntax Highlights
Declaration
Syntax Highlights
Decisions Structures
Syntax Highlights
Looping Structures
Syntax Highlights
Over Oriented Object
Go use Struct with functions!
Syntax Highlights
Go Everywhere
Go Everywhere
I’m...
Marcos BérgamoDeveloper
marcosbergamo.com