Changes

Jump to: navigation, search

Team Go

639 bytes added, 21:18, 17 December 2017
no edit summary
The Go language originated as an experiment by a few google engineers with the intention to take all the positive characteristics of existing languages and resolve the common criticism.
Go is meant to be statically typed scalable language like C++ or java while also being productive and readable; Go tries to avoid the repetition of too many mandatory keywords
== Understanding the language ==
'''Syntax'''
 
Optional concise variable declaration and initialization
 
x := 0 not int x = 0
 
Remote package management
 
go get
 
'''Problem Approaches'''
 
Built-in concurrency primitives!
Light-weight processes, channels and select statements
 
Uses interface system instead of virtual inheritance
 
'''Function returns'''
 
Functions may return multiple values, and returning a result, err pair is the conventional way a function indicates an error to its caller in Go.
 
== Concurrency ==
 
making progress on more than one task simultaneously is known as concurrency.
'''Concurrency is not parallelism!'''
32
edits

Navigation menu