What happened in Tech Talk #3 Golang, I just came yesterday.
I signed up to attend this event last month and tickets are free. As you can see, time to start is 7PM Hanoi time. It’s quite lated for other people but matched to solid developers around Hanoi. ’Cause i’ve never been to visited before, then i’m lost this place and spending more than 30' to find out there. This is an interesting experiment for me :)
When came there, i’m a little bit impressed with Toong space. This place is so fresh and model, has a bar in the left corner space. Golang event was taking place on the 2nd floor. There are about 40 people staying. They are also dev and some of them are journalist, i guessed.
The goal of event that would introduced Golang — means Google Language, that unveiled in 2007. The Go programming language is an open source project to make programmers more productive. Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection. It’s a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language. If you feel unfamiliar with, please checkout wiki.
I also have a chance to debate with Innovatube’s CEO — Takaaki Mizuno. We was talking about Swift and Go, which is the better language? Honestly, this is my difficult question to him. Instead of giving an answer to conclusion, we shared some personal opinion to up comes advantage and disadvantage of Swift and Go. You know, this disputation is endless. I just thought each language had has interesting things, to Swift, you would programming with traditional way or FPR way but to Go, it needs you only make your code clearly and readable, that’s all fine for Go. And many difference things necessary you to discover in the next time.
Here is a brief Go:
* Go compiles very quickly.
* Go supports concurrency at the language level.
* Functions are first class objects in Go.
* Go has garbage collection.
* Strings and maps are built into the language.
* Go is still an experimental language subject to change. (I suppose this could be an advantage depending on how you look at it. For most it’s probably a disadvantage.)
* Go’s not very usable on Windows yet.
* The packages distributed with Go are pretty useful, but there are still some libraries you’ll miss. Most notably a UI toolkit.
* There is no support for generics in Go, although there are many discussions around it.
Other points of note that could be advantages or disadvantages:
* Go compiles to machine code.
* Go is very strongly typed.
* Go is not object oriented in the traditional sense.
After the event, i am at home and look for Go documentation on the internet, and today i’d like to share my treasure i occupied. Firstly, here’s a source to learn Go for all: https://github.com/golang/go/wiki/Learn and secondly is Lib supporting: https://github.com/fatih/vim-go, Vim supports to code suggestion while using keyboard defined by yourself. Feel cool to explore them. For now, i’m learning Go as beginner person, i planned to spend 30' per my daily to learn Go. Hope that possible to understand and makes a fancy project myself. You may code some of first lines code by using Go Playground, ahhh, sounds like Playground in Swift :) Yes, it does. With above simple tool you would type anything you want.
I tried to code a simplest programming, find to odd and even numbers
Look! so easy to code. You know, a bit to same Swift syntax, hmm? No comma and using “func” keyword to declare a function.
This is a basic syntax, there are many advances you should learn. But getting started , i still encourage you that should use Go playground to familiar with Go first. Or maybe throughout across https://tour.golang.org/list
Okay, so, it’s all things i’d share today. Thank you so much if you still keep an eye to here. I will share my experience related Go later. Happy coding, friend!
P/S: If you have anything about Go to share, bring me to your idea and we will discuss. I think since to became a programmer, we want to learn and share some news and raise ourself to next up level,too. And the most important thing that was earned more money for gather toys ;). Just kidding :D