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.
Error Handling Patterns with Claude Code: Consistent, Testable, User-Friendly

Error Handling Patterns with Claude Code: Consistent, Testable, User-Friendly

Comments
3 min read
Safe Refactoring with Claude Code: Diagnose First, Change Minimum, Verify Always

Safe Refactoring with Claude Code: Diagnose First, Change Minimum, Verify Always

Comments
3 min read
Claude Code Context Management: Keep AI Output Consistent on Long Projects

Claude Code Context Management: Keep AI Output Consistent on Long Projects

Comments
3 min read
Claude Code Context Management: Keep AI Output Consistent on Long Projects

Claude Code Context Management: Keep AI Output Consistent on Long Projects

Comments
3 min read
Managing Expectations: Surviving the 5000 Lines of Code Per Day Mandate

Managing Expectations: Surviving the 5000 Lines of Code Per Day Mandate

5
Comments
4 min read
Stop Writing Python Without Type Hints — Here's How to Start

Stop Writing Python Without Type Hints — Here's How to Start

Comments
2 min read
Top 10 OpenClaw Development Patterns and Architecture Best Practices

Top 10 OpenClaw Development Patterns and Architecture Best Practices

Comments
6 min read
Developer Best Practices: Reference Guide

Developer Best Practices: Reference Guide

Comments
12 min read
The Escalation Rule Pattern Every AI Agent Needs (and Most Skip)

The Escalation Rule Pattern Every AI Agent Needs (and Most Skip)

Comments 1
2 min read
Dry-Run Engineering: The Simple Practice That Prevents Production Disasters

Dry-Run Engineering: The Simple Practice That Prevents Production Disasters

Comments
4 min read
Top 10 OpenClaw Development Patterns and Architecture Best Practices

Top 10 OpenClaw Development Patterns and Architecture Best Practices

Comments
6 min read
Top 10 OpenClaw Development Patterns and Architecture Best Practices

Top 10 OpenClaw Development Patterns and Architecture Best Practices

Comments
6 min read
Mastering the 'any' Type in TypeScript: When to Use It, and When to Avoid It

Mastering the 'any' Type in TypeScript: When to Use It, and When to Avoid It

2
Comments
2 min read
Top 10 OpenClaw Development Patterns and Architecture Best Practices

Top 10 OpenClaw Development Patterns and Architecture Best Practices

Comments
6 min read
Top 10 OpenClaw Development Patterns and Architecture Best Practices

Top 10 OpenClaw Development Patterns and Architecture Best Practices

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