Category: Go

0

Chapter 31: Go Conditions

Go Conditions” in beginner tutorials, documentation, YouTube videos, or W3Schools/GeeksforGeeks-style articles, they almost always mean: How to write conditional logic — i.e. if, else if, else, and the very special if with initialization pattern...

0

Chapter 30: Bitwise

Bitwise operators. Many beginners skip or fear bitwise operations because they look “low-level” or “math-y”, but in real Go code they appear surprisingly often — especially when you work with: flags / permissions network...

0

Chapter 29: Logical

Logical operators — the operators you use to combine conditions, make complex decisions, guard against nil pointers, check multiple requirements at once, etc. Logical operators are extremely common in real Go code — almost...

0

Chapter 28: Comparison

Comparison operators — the operators you use to make decisions, check conditions, sort things, validate input, filter data, etc. In almost every real Go program (web handlers, CLI tools, data processing, games, APIs…), comparison...

0

Chapter 27: Assignment

1. What Are Assignment Operators? Assignment operators are used to assign a value to a variable (or modify an existing value). In Go there are two kinds: The normal assignment= The compound assignment operators...

0

Chapter 26: Arithmetic

Arithmetic operators. These are the classic math symbols you already know from school (+ – * / %), but Go has some very specific behaviors that catch almost every beginner off-guard at least once...

0

Chapter 25: Operators

Operators right after slices — this is exactly the logical next step. In Go, operators are the symbols that let you perform operations on variables and values: arithmetic, comparison, logical decisions, bitwise tricks, assignments,...

0

Chapter 24: Go Operators

Go Operators — one of the very first things every beginner needs to feel comfortable with, because almost every line of real code uses them. Operators in Go are very clean and minimal compared...

0

Chapter 23: Modify Slice

Modify slice Modifying slices is where most beginners get surprised (and sometimes bitten) because slices behave very differently from arrays and from lists in Python/JavaScript. The key sentence you should remember forever: Modifying a...

0

Chapter 22: Create Slice

Create slice. In almost every real Go program you will create slices many times per file — so understanding all the different ways to do it, together with their advantages, memory behavior and common...