Clare·Feb 16Stop Guessing in Go: var vs := and When to Use constWhen I first started learning Go, I treated var and := like interchangeable tools. If I felt like writing one, I wrote it. It wasn’t until…
Alexander Obregon·Sep 9, 2025Constants in Go and Compile Time BehaviorConstants carry rules that set them apart from regular variables in Go. They’re handled by the compiler in a special way, which changes how…
Jyothi·Feb 15, 2025Variables and Constants in GolangGo is a statically typed language. Variables must have a type, either explicitly specified or inferred by the compiler.
Gopal Agrawal·Dec 10, 2024Go’s Approach: Conversion Over CastingWhy Go choose conversion over casting !
Devpriya Shivani·Jul 3, 2024Go ConstantsIn Go, constants are declared using the const keyword followed by a name and a value. It holds a unique and crucial role, distinguished by…
Saumya·May 31, 2024Mastering Go: Guide to Type Declarations, Variables, and ConstantsIn Go, constants are fixed values that are known at compile time and remain unchanged throughout the program’s execution. They are defined…
Aman dubey·May 23, 2024Mastering Go: Guide to Type Declarations, Variables, and ConstantsWelcome to the world of Go programming! In this blog post we will dive into the intricacies of type declarations, variables and constants…