DEV Community

Cover image for 100 Tips from The Pragmatic Programmers Book: Part 2/10
Rajesh Royal
Rajesh Royal

Posted on

4 2 2 3 2

100 Tips from The Pragmatic Programmers Book: Part 2/10

2.1. English is Just Another Programming Language.

Treat English as Just Another Programming Language. Write documents as you would write code: honor the DRY principle, ETC, automation, and so on.

 

2.2. It’s Both What You Say and the Way You Say It.

There’s no point in having great ideas if you don’t communicate them effectively.

 

2.3. Build Documentation In, Don’t Bolt It On.

Documentation created separately from code is less likely to be correct and up to date.

 

2.4. Good Design Is Easier to Change Than Bad Design.

A thing is well designed if it adapts to the people who use it. For code, that means it must adapt by changing.

 

2.5. DRY—Don't Repeat Yourself.

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

 

2.6. Make It Easy to Reuse.

If it’s easy to reuse, people will. Create an environment that supports reuse.

 

2.7. Eliminate Effects Between Unrelated Things.

Design components that are self-contained, independent, and have a single, well-defined purpose.

 

2.8. There Are No Final Decisions.

No decision is cast in stone. Instead, consider each as being written in the sand at the beach, and plan for change.

 

2.9. Forgo Following Fads.

Neal Ford says, “Yesterday’s Best Practice Becomes Tomorrow’s Antipattern.” Choose architectures based on fundamentals, not fashion.

 

2.10. Use Tracer Bullets to Find the Target.

Tracer bullets let you home in on your target by trying things and seeing how close they land.

 
Thanks for reading, happy coding 😀

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay