I’ve officially started my #Golang Journey and wrapped up Day-1 with a mix of hands-on coding and deeper exploration into what makes Go unique.
Topics I Covered Today
Basics: Concept, Syntax, Implementation, Use Cases, Examples
Core Language Features:
- Data Types, Variables, Constants
- Naming Conventions
- Arithmetic Operations, Operators, Loops, Conditions
- Arrays, Blank Identifier, Slices, Maps, Range
- Functions: Multiple Return Values, Variadic Functions
- Error & Execution Control: Defer, Panic, Recover, Exit, Init Function
Medium Blog: Go Basics Beyond Syntax – What Tutorials Don’t Tell You
Alongside practicing, I wrote an article on Medium focusing on the why behind Go’s design choices rather than just the how.
Here’s what I covered in the blog:
- Dealing with “main redeclared” error in Go
- How Go supports Unicode (handling multiple languages effortlessly)
- Standalone Binary Executables: A key strength of Go
- Proper Naming Conventions in Go
- The role of go run vs go build in the Compiler & Runtime
- Tree Shaking in Go: Optimizing executables by removing unused code
Check it out here: https://medium.com/@kernelKain/go-basics-beyond-syntax-what-tutorials-dont-tell-you-about-the-basics-8b9e6c1d17eb
Top comments (0)