Menu

1 / 2

šŸŽ“Session 1: Hello World in Go + Introduction & Need of Golang

DEV CommunityĀ·Kalpana RĀ·6 months ago
#y4X0JBdL
#beginners#learningjourney#go#programming#hello
Reading 0:00
15s threshold

I’ve just started a 40-day journey to learn Go (Golang).

This is a record of what I learn in each session—concepts, examples, and even small details.

My goal is to stay consistent, document my progress, and hopefully make this series helpful for anyone else starting with Go.

Let’s start with why Go is worth learning.

Why Go?

Earlier scripting relied on Bash and later Python .

Python made automation easier but required dependencies and external packages.

Go solves this by producing standalone binary files that are small, portable, and easy to share.

Example: Tools like Cobra or notification services are distributed as single binaries (~13 MB).

Go is widely used today for microservices , APIs , and CLI tools .

Compiled vs Interpreted Languages

Go is a compiled language .

Compilation catches errors before runtime.

Interpreted languages (Python, Ruby) execute line by line, so errors appear only when that line runs.

With Go, if there’s a problem, compilation stops immediately.

Writing the First…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.