✕ Clear all filters
17 articles
▶ Videos →

📰 Dev.to · Bala Paranj

17 articles · Updated every 3 hours · View all reads

All Articles 175,248Blog Posts 163,941Tech Tutorials 46,697Research Papers 34,375News 22,092 ⚡ AI Lessons
Your Private API is Currently Safe. One Developer Change Away From Unsafe.
Dev.to · Bala Paranj 🔧 Backend Engineering ⚡ AI Lesson 4mo ago
Your Private API is Currently Safe. One Developer Change Away From Unsafe.
A 2023 Medium tutorial walks through restricting a private API Gateway to a single EC2 host in a...
Functions vs Methods in Go: 6 Decision Criteria With Code Examples
Dev.to · Bala Paranj 🔧 Backend Engineering ⚡ AI Lesson 4mo ago
Functions vs Methods in Go: 6 Decision Criteria With Code Examples
When to use a method (owns the data, needs state, is the domain question), when to use a function...
5 Factory Patterns in Go That Aren't the Gang of Four
Dev.to · Bala Paranj 🔧 Backend Engineering ⚡ AI Lesson 4mo ago
5 Factory Patterns in Go That Aren't the Gang of Four
Function-type factories, strategy factories, registration factories, functional options, and null...
Your Go Structs Are Leaking: 6 Encapsulation Fixes From a Security CLI
Dev.to · Bala Paranj 🔧 Backend Engineering ⚡ AI Lesson 4mo ago
Your Go Structs Are Leaking: 6 Encapsulation Fixes From a Security CLI
How returning pointers to internal slices, exposing mutable globals, and using pointer receivers on...
The Airgap Test: Refactoring a Cobra CLI into a Library API
Dev.to · Bala Paranj 🔧 Backend Engineering ⚡ AI Lesson 4mo ago
The Airgap Test: Refactoring a Cobra CLI into a Library API
How a single rule — only RunE touches *cobra.Command — turned a CLI codebase into a library that...
The Most Important Refactoring Was Deleting 500 Lines I Was Proud Of
Dev.to · Bala Paranj 🔧 Backend Engineering ⚡ AI Lesson 4mo ago
The Most Important Refactoring Was Deleting 500 Lines I Was Proud Of
How I deleted a generic Pipeline[T] framework and a pass-through workflow layer, and why the codebase...
We Forgot defer — 6 Resource Leaks We Found During Refactoring
Dev.to · Bala Paranj 🔧 Backend Engineering ⚡ AI Lesson 4mo ago
We Forgot defer — 6 Resource Leaks We Found During Refactoring
We had a progress spinner. It animated on stderr while the evaluation ran. When the evaluation...
Applying clig.dev to a Go CLI — With an Automated Compliance Test
Dev.to · Bala Paranj 🔧 Backend Engineering ⚡ AI Lesson 5mo ago
Applying clig.dev to a Go CLI — With an Automated Compliance Test
clig.dev is a set of guidelines for building command-line interfaces that are consistent,...
5 Builder Patterns in Go — None of Them Are the Textbook Version
Dev.to · Bala Paranj 🔧 Backend Engineering ⚡ AI Lesson 5mo ago
5 Builder Patterns in Go — None of Them Are the Textbook Version
The textbook builder pattern has a Director, a Builder interface, a ConcreteBuilder, and a Product....
4 Builder Patterns in Go That Aren't the Builder Pattern
Dev.to · Bala Paranj 🔧 Backend Engineering ⚡ AI Lesson 5mo ago
4 Builder Patterns in Go That Aren't the Builder Pattern
The classic Builder pattern — New().WithX().WithY().Build() — is rare in Go. But the problem it...
Boolean Blindness in Go: When true, false, true Tells You Nothing
Dev.to · Bala Paranj 🔧 Backend Engineering ⚡ AI Lesson 5mo ago
Boolean Blindness in Go: When true, false, true Tells You Nothing
Quick — what does this call do? v.validateDocument(raw, yaml.Unmarshal, "YAML", "dsl_version", ...
Accept Interfaces, Return Structs: 5 Patterns From a Go CLI
Dev.to · Bala Paranj 🔧 Backend Engineering ⚡ AI Lesson 5mo ago
Accept Interfaces, Return Structs: 5 Patterns From a Go CLI
"Accept interfaces, return structs" is the most quoted Go proverb and the least applied. Most Go...
Designing Errors Out of Your Go CLI
Dev.to · Bala Paranj 🔧 Backend Engineering ⚡ AI Lesson 5mo ago
Designing Errors Out of Your Go CLI
Most Go CLIs have too many error checks. Not because error handling is wrong — because the errors...