Top Banner
Golang from Scratch Tudo o que você precisa saber para começar
19

Golang from Scratch

Dec 02, 2014

Download

Technology

Marcos Bérgamo

This presentations if an simple overview about the Go Programming Language.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Golang from Scratch

Golang from Scratch

Tudo o que você precisa saber para começar

Page 2: Golang from Scratch
Page 3: Golang from Scratch

O que veremos aqui hoje?

● A little history about Golang

● Syntax Highlights

● Go Everywhere

● Credits and Links

Page 4: Golang from Scratch

A little history about Go

Page 5: Golang from Scratch

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

Page 6: Golang from Scratch

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.

Page 7: Golang from Scratch

A little history about Go

November 10, 2009

Now Go is an Opened Project.

04/2012 - Go 1.0 released

Page 8: Golang from Scratch

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

Page 9: Golang from Scratch

Syntax Highlights

Page 10: Golang from Scratch

Syntax Highlights

● Clean Code

● Simple declarations

● Duck typing

● Useful Data Structures

Page 11: Golang from Scratch

Syntax Highlights

Declaration

Page 12: Golang from Scratch

Syntax Highlights

Decisions Structures

Page 13: Golang from Scratch

Syntax Highlights

Looping Structures

Page 14: Golang from Scratch

Syntax Highlights

Over Oriented Object

Go use Struct with functions!

Page 15: Golang from Scratch

Syntax Highlights

Page 16: Golang from Scratch

Go Everywhere

Page 17: Golang from Scratch

Go Everywhere

Page 18: Golang from Scratch

I’m...

Marcos BérgamoDeveloper

marcosbergamo.com

Page 19: Golang from Scratch