Tagged articles

iota

6 articles · Page 1 of 1
Raymond Ops
Raymond Ops
Jan 22, 2025 · Backend Development

10 Essential Go Practices to Write Flexible, Maintainable Code

This article presents ten practical Go programming techniques—from using a single GOPATH and wrapping for‑select loops to defining custom types, improving enum handling with iota, and encapsulating repetitive logic with context helpers—aimed at building flexible, readable, and easily maintainable applications.

GOPATHGocode organization
0 likes · 14 min read
10 Essential Go Practices to Write Flexible, Maintainable Code
MaGe Linux Operations
MaGe Linux Operations
Sep 1, 2021 · Backend Development

Master Go Enums with const and iota: A Practical Guide

This article explains how Go implements enumeration using const and the iota counter, provides step‑by‑step code examples, demonstrates alternative type‑based enum patterns, and shows how to add a String method for readable output, helping developers write clean, maintainable constant definitions.

Enumbackendconstants
0 likes · 5 min read
Master Go Enums with const and iota: A Practical Guide
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 19, 2020 · Fundamentals

Master Go’s Core Data Types: From iota to Strings Explained

This article provides a comprehensive guide to Go’s fundamental data types—including iota, integers, floats, booleans, strings, and multi‑line strings—complete with explanations, code examples, and common string operations, helping readers deepen their understanding of Go’s core type system.

Data TypesGoStrings
0 likes · 11 min read
Master Go’s Core Data Types: From iota to Strings Explained