Fundamentals 5 min read

10 Essential Tips Every Developer Should Follow

This article shares ten practical pieces of advice for programmers—from thinking before coding and communicating clearly with product managers, to writing documentation and comments, handling changing requirements, prioritizing business value, testing thoroughly, solving problems independently, and using new technologies wisely.

Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
10 Essential Tips Every Developer Should Follow

It’s Friday again, and while you might feel like celebrating, here are ten valuable suggestions for developers to improve their work and avoid common pitfalls.

1. Think before you write code

Newcomers often rush to code as soon as they receive a requirement to showcase their ability, which is a big mistake. In reality, only about 20% of the time is spent actually writing code; the rest is spent fixing bugs caused by unclear thinking.

2. Communicate or suffer

Lack of communication leads to misunderstandings of requirements, resulting in delivering features that don’t match what the product expects. Many re‑work efforts stem from poor communication.

3. Write documentation even if no one reads it

Documentation mainly serves as a record rather than a communication tool. Even though most requirements are discussed verbally, without written records it’s easy to get into disputes later.

4. Always write comments

Skipping comments creates hidden pitfalls for yourself and others; over time you may not even understand your own code.

5. Don’t expect stable requirements

Product requirements constantly evolve based on business needs; changing requirements is normal, so avoid complaining—change is the only constant.

6. Business outweighs technology

If technology doesn’t serve the company’s commercial goals, it has little value. Focus on applying mature technologies to real business problems rather than chasing the newest trends.

7. Don’t rely on luck

If you sense a part of the code may contain bugs, it probably will.

8. Test your own work multiple times

Don’t hand over unfinished code to QA immediately; ensure quality by testing it yourself first.

9. Try to solve problems yourself

When encountering unknown issues, first attempt to resolve them using resources like Google or Stack Overflow; avoid constantly asking others for help, but seek assistance promptly if truly stuck.

10. Use new technology cautiously

Don’t chase new tech blindly; many new tools are still in beta and lack solid documentation, so premature adoption often leads to problems.

Remember these ten suggestions and you’ll avoid many common pitfalls as a programmer. If you can’t keep them all in mind, save the accompanying memes—they might come in handy during heated discussions.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

programmingsoftware developmentbest practicescareer advicedeveloper tips
Huawei Cloud Developer Alliance
Written by

Huawei Cloud Developer Alliance

The Huawei Cloud Developer Alliance creates a tech sharing platform for developers and partners, gathering Huawei Cloud product knowledge, event updates, expert talks, and more. Together we continuously innovate to build the cloud foundation of an intelligent world.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.