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 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

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
Why I finally stopped writing God classes in Python (and what I learned)

Why I finally stopped writing God classes in Python (and what I learned)

Comments
4 min read
Claude.ai Limitations & How to Avoid Common Mistakes

Claude.ai Limitations & How to Avoid Common Mistakes

2
Comments 19
5 min read
I Stopped Putting Everything in Service Classes. Here's the Decision Tree I Use Now

I Stopped Putting Everything in Service Classes. Here's the Decision Tree I Use Now

Comments
6 min read
Guard Clauses: The Tiny Habit That Saved My Sanity

Guard Clauses: The Tiny Habit That Saved My Sanity

Comments
4 min read
React + TypeScript Best Practices in 2025: What Actually Matters

React + TypeScript Best Practices in 2025: What Actually Matters

Comments
10 min read
The One Habit That Made My Code Actually Readable

The One Habit That Made My Code Actually Readable

Comments
4 min read
Commit First, Code Later: How Writing the Commit Message Upfront Changes Everything

Commit First, Code Later: How Writing the Commit Message Upfront Changes Everything

Comments
4 min read
Refactoring Legacy Code: A Jedi’s Guide to Clean Code

Refactoring Legacy Code: A Jedi’s Guide to Clean Code

1
Comments
4 min read
The Go Code Review Comments List: 10 Rules Every Reviewer Cites

The Go Code Review Comments List: 10 Rules Every Reviewer Cites

1
Comments
8 min read
Go Naming: Why Getters Drop the Get Prefix (and Other Idioms)

Go Naming: Why Getters Drop the Get Prefix (and Other Idioms)

Comments
6 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.