5. Simple language to learn
Golang. there is only
one way
Opposite of Perl in certain sense. Strict pre
defined implicit type declaration
@i = ( 1, 2, 3 );
becomes
i := []int{1, 2, 3}
6. Lets print something
❖ Print text
❖ print “Hello World”;
❖ fmt.Printf(“Hello Worldn”)
❖ Print text to file
❖ print $fh “Hello World”;
❖ fh.Write(“Hello Worldn”)
7. For sake of simplicity
❖ Golang does not have
❖ Implicit conversion between
types
❖ Classes
❖ Implements
❖ Pointer Arithmetic
❖ Exceptions
❖ Generics
8. For sake of simplicity …
❖ Golang has
❖ Implicit interfaces
❖ Error handling within realm
of function
❖ Error returns
10. There is concurrency
❖ Concurrent code is easy to
write
❖ Either with semaphores
❖ or Go routines and channels
❖ Simple
❖ Can be parallelized in presence
of more than 1 CPU