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.
The Dependency Rule, Written as a CI Check in Go

The Dependency Rule, Written as a CI Check in Go

Comments
7 min read
WithTimeout vs WithDeadline: The Go Bug You Cannot Unit-Test

WithTimeout vs WithDeadline: The Go Bug You Cannot Unit-Test

1
Comments
6 min read
context.Context Is a Tree, Not a Bag. Treat It Like One

context.Context Is a Tree, Not a Bag. Treat It Like One

Comments
6 min read
Beyond 'any': Mastering TypeScript's Utility Types for Cleaner and Safer Code

Beyond 'any': Mastering TypeScript's Utility Types for Cleaner and Safer Code

2
Comments
7 min read
5 Common AI Risk Management Mistakes (And How to Fix Them)

5 Common AI Risk Management Mistakes (And How to Fix Them)

Comments
4 min read
The Repository Pattern Everyone Gets Wrong in Go

The Repository Pattern Everyone Gets Wrong in Go

Comments
8 min read
Python Type Hints That Actually Catch Bugs (Not Just Satisfy mypy)

Python Type Hints That Actually Catch Bugs (Not Just Satisfy mypy)

Comments
6 min read
Stop Importing database/sql in Your Go Business Logic

Stop Importing database/sql in Your Go Business Logic

2
Comments
7 min read
main() Is the Most Important Function in Your Go Service

main() Is the Most Important Function in Your Go Service

1
Comments
8 min read
The Anti-Corruption Layer That Saves Your Next Vendor Migration

The Anti-Corruption Layer That Saves Your Next Vendor Migration

1
Comments
8 min read
Your Go Config Package Is a Hidden Dependency Monster

Your Go Config Package Is a Hidden Dependency Monster

1
Comments
7 min read
Keycloak Realm Configuration Best Practices for Production

Keycloak Realm Configuration Best Practices for Production

Comments
5 min read
Your AI Agents Are Autonomous. But Are They Accountable?

Your AI Agents Are Autonomous. But Are They Accountable?

Comments
5 min read
Deployed Is Not the Same as Ready: How Mature Is Your Kubernetes Environment?

Deployed Is Not the Same as Ready: How Mature Is Your Kubernetes Environment?

Comments
6 min read
Dry Run Engineering: The Practice That Reduces Production Incidents

Dry Run Engineering: The Practice That Reduces Production Incidents

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