Vous êtes sur la page 1sur 2

Go Lang

The “Go Language” is the most promising computer programming language. It is developed by Robert
Griesemer, Rob Pike and Ken Thompson at Google in 2007 but launched as open source in the year of
2009. It is a procedure programming language. The developer tried to reduce the complexity and clutter.
It is a neat and efficient which is nearly new to everyone and everyone is interested to learn this
language, because of its popularity and advance feature.

It is flexible, concise and hence easy to learn, the syntax is much related to C and C++, if you hail from
the programming background especially from the C and Java. There is no header files, everything is
declared only at once. You’ll definitely enjoy the process of learning and if you have a bit of knowledge
of programming than the learning will be soothing. It also helps to identify the difference between the
most famous languages including Python.

As, it is a compiled language, hence much faster than most of the popular languages including Python.
But it lacks in case of object-oriented programming it doesn’t make conventional sense but it supports
some method like inheritance. You can prefer the Go documentation for overview of the language.

It converts the code in Machine Language before runtime which boosts its performance. It is better than
C and Java in case of memory management and no such thing like pointers take place, there is no hassle
about the garbage or null-pointer as we found in C or Java. Go excels in giving a lot of control over
memory allocation and has dramatically reduced latency in the most recent versions of the garbage
collector. This makes this language so versatile, however the features this language is providing are less
than Java but at the same time it will provide the same output using less lines of code and again the line
of codes is as much important as writing a good program. Because, eventually it becomes easy to debug
the program and readability got a new sense.

In fact, the language also has a huge active community with a tremendous no. of increase in Go dev’s.
Programs are assembled in packages, for efficient manage of dependencies. There are a lot of IDE’s but
Go playground where you can test your codes is a way to run Go without actually installing Go in your
system. Or, if you want the best experience than no doubt go with the IDE’s as they are handy and take
less time to write the code. But IDE’s are not the best way to write if we came to Text Editor. Using Text
Editor is a good practice to write code and helps to memorize the method which will helpful in many
ways.

It has a wide variety of Library but there is absence of some libraries especially, in UI tool kit. It will also
use as web development as a server side programming language in near future. In fact, Netflix is using it
for server architecture. Some applications are developed in Go such as Docker, Kubernetes, OpenShift,
Dropbox and many more web applications. The amazing thing is it is written in Go itself. It gains all this
popularity in small span of time, which clears up the thought of -why we should learn this language. Not
because it has great things to offer but it can ‘do more in very less efforts’ too.

Why you should learn Go?


As, it is one of the growing language, everyone is leading to learn this language because the adaptability
is the syntax and methods are way much simpler than languages like C, Java, R, etc. It is confirmed that
this language going to be important part in Web Development as like Django has taken a level up in this
field. Go has a wide standard library which is distributed as packages. Go offers modern day workflow of
working with open source projects and includes that in a way of package. By doing this, the new
packages will get updated and we could track the latest package or modules. Static Typing: Go is static
typed language. So, in this compiler not just work on compiling the code successfully but also ensures on
type conversions and compatibility. Because of this feature Go avoid all those problems which we face in
dynamically typed languages.

How to Download?
The easiest way to download it is by landing on the ‘Go.org’ and download the file in zip or
either in other way, extract if downloaded into zip otherwise drop the file in your desire folder
if wanted.

1. Go to the properties of your system.


2. At left bottom, select the “Advance system settings”.
3. Select the Advanced column and enter in the Environment Variables.
4. Right at the bottom, you’ll find the path (edit it) and provide the path where you have
put the Go downloaded file.
5. Click “Ok” (that will be your development variable path) if the environment variable is
ready.
6. After this make a folder on any of the drive and of any name you liked.
7. After naming the folder, you should add 3 sub-folders which is important.
8. Name them “src, pkg, bin”
9. Check installation on “Command prompt”, write “go version” and hit enter.
10. Also, check the environment by “go env” and hit enter.
11. It will show the version as installed.

Vous aimerez peut-être aussi