Golang Programming language

Michael James Balsa
4 min readJan 1, 2022

Introduction to Golang programming language

Go Programming Language

First appeared in 2009 by Google for general purpose web development & backend development for web applications. The Go programming language was introduced to replace old languages such as Node.js, PHP, Laravel, and other languages. Its flexible and robust codebase separates Go from other languages used in modern web applications. But what truly makes this language remarkable and different compared to its old brothers and sisters in software development?

What we will cover in today's Article

  • Golang Compiled & Statically typed language
  • Golang Is Beginner Friendly
  • Flexible Package management

Compiled & Statically typed language

When building complex web applications, we need to write thousands of lines of code, including an abundant amount of other factors. Traditional languages such as PHP, Python, and JavaScript were designed as interpreted languages. So what exactly is interpreted language in computer science, and how does it work when executing our code?

Imagine watching a movie, and it is spoken in a different language! This now becomes an issue cause we can’t translate the language and understand the film. We would need someone to explain to us what the actors are saying before we can grasp the situation in the movie. This idea is an example of how an interpreter language works in programming.

Interpreted Langauge: This is interpreted by a separate program on the target machine during the execution of code.

Compiled Language: The target machine does not utilize a separate program to interpret code. It rather executes & translates code itself during run time.

Statically Typed Language

The best example is declaring variables and their data type when programming in a statically typed language. Statically typed languages can offer type interference, but datatypes are usually declared with variables. “Static” terminology means that once a specific data type is assigned to a variable, it cannot be changed to a different datatype. All type checking is performed during compile time when using statically typed language.

GoLang Beginner Friendly

The Golang programming language is wonderful and elegant compared to many older languages used today. The syntax is not hard to understand, and common core principles such as if/else statements, conditionals, functions are clean and understandable in Go language. Developers that concentrate on web development are found to learn Golang and Javascript.

According to studies its shown that 32% percent of developers prefer to learn the Golang language and 24% of developers pick Python programming language.

Golang is commonly used in companies around the world from small tech companies to big tech companies such as Google, Netflix, IBM, Uber, Twitter.

Flexible Package Management In GoLang

Golang offers fantastic documentation concerning all packages available for developers. Importing packages is mad simple in Golang rather than other programming languages. Developers don’t have to import specific packages when building complex programs, as Golang will automatically detect code sources belonging to the package once the Go.file is saved and add the import into code.

Conclusion

As part of my New Years’ goals, I will be focusing my attention on web application development with Golang and Swift for mobile IOS development. I have other languages that I will write about shortly, but I hope this encourages you to set high goals and passions for yourself and Happy New Year. Happy coding!

References

--

--

Michael James Balsa

I am Database Administrator that is excited to share my journey deeper into the technology field.