close

DEV Community

# bestpractices

Sharing tips and established patterns for writing clean HMPLjs code.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
How Dependency Injection Gave Me the Red Pill Moment

How Dependency Injection Gave Me the Red Pill Moment

Comments
4 min read
The Self‑Documenting Code Quest: How I Stopped Writing Comments and Started Writing *Readable* Code

The Self‑Documenting Code Quest: How I Stopped Writing Comments and Started Writing *Readable* Code

Comments
5 min read
Review the code that does not exist yet

Review the code that does not exist yet

Comments
7 min read
The Dependency Injection Quest: How I Turned Spaghetti Code Into a Lightsaber 🚀

The Dependency Injection Quest: How I Turned Spaghetti Code Into a Lightsaber 🚀

Comments
4 min read
Python Data Validation Patterns for Production Systems

Python Data Validation Patterns for Production Systems

Image Image Image 5
Comments
4 min read
🐍 Python Power Moves: 5 Tricks to Level Up Your Code Today

🐍 Python Power Moves: 5 Tricks to Level Up Your Code Today

Comments
3 min read
Struct Embedding in Go: Composition That Bites When You Reach for Inheritance

Struct Embedding in Go: Composition That Bites When You Reach for Inheritance

Comments
6 min read
The Only API Documentation Template Your Team Actually Needs

The Only API Documentation Template Your Team Actually Needs

Comments
4 min read
How We Turned Incident Response into 5-Min Postmortems (And Actually Fixed Things)

How We Turned Incident Response into 5-Min Postmortems (And Actually Fixed Things)

Image 1
Comments
5 min read
Common Pitfalls Building Email Agents (and Fixes)

Common Pitfalls Building Email Agents (and Fixes)

Image 1
Comments
5 min read
How to Format SQL Queries in Python: Best Practices, Gotchas, and Real-World Examples

How to Format SQL Queries in Python: Best Practices, Gotchas, and Real-World Examples

Comments
6 min read
I'm rotating three of my own secrets this week. Three keys ended up where they didn't belong, I caught it fast, and I have a ...

I'm rotating three of my own secrets this week. Three keys ended up where they didn't belong, I caught it fast, and I have a ...

Comments
5 min read
Refactoring Legacy Code: The Jedi Move of Extracting Pure Functions

Refactoring Legacy Code: The Jedi Move of Extracting Pure Functions

Image 2
Comments
5 min read
The One TDD Habit That Saved My Sanity (and My Codebase)

The One TDD Habit That Saved My Sanity (and My Codebase)

Comments
4 min read
The One Commit Message Trick That Saved My Sanity

The One Commit Message Trick That Saved My Sanity

Comments
4 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.