10 Essential Habits Every Programmer Should Adopt
This article outlines ten practical habits for developers, from relying on official documentation and thorough testing before delivery to effective logging, mastering Git, prioritizing functional implementation over premature optimization, managing requirements, proactively solving project issues, allocating buffer time, hands‑on learning, and improving English for technical growth.
1. Follow official documentation when adopting new tech stacks
When introducing new JARs, middleware, or frameworks, always consult the official documentation first, as online articles can be unreliable and may lead to incorrect usage, such as adding unnecessary annotations in JUnit 5 tests. @RunWith(SpringRunner.class) The official docs clarify that with JUnit 5 this annotation is unnecessary and can cause conflicts.
2. Quietly test your code thoroughly before delivery
Reliability is judged by the number of bugs discovered by others, not by self‑assessment. Even if your code isn’t perfect, comprehensive self‑testing before committing reduces low‑level bugs and builds a solid reputation.
3. Log inputs, outputs, and execution time
Effective logging helps locate both logical and performance problems. Recording request parameters, results, and timestamps enables quick correlation with business rules and facilitates analysis with tools like grep, sort, or log‑search platforms, sometimes even integrating with monitoring systems for alerts.
4. Master Git
Git is essential for team development; poor Git usage can cause merge conflicts and unnecessary bugs, leading to mysterious issues during each release.
5. Prioritize functional implementation over premature optimization
Focus on delivering working features first; early optimization often wastes effort. Evaluate performance needs after the feature is stable and based on real usage patterns.
6. Implement clear requirements before ambiguous ones
Separate well‑defined requirements from vague ones. Build a solid “framework” for the clear tasks first, then discuss the ambiguous items with product managers to clarify difficulties and reduce communication overhead.
7. Proactively identify project problems and propose solutions
Actively surface issues encountered during development, solve them, and turn the solutions into driving forces that advance the project and benefit your own growth.
8. Allocate buffer time in development schedules
Reserve extra time to handle unexpected changes such as requirement shifts, team turnover, optimistic estimates, legacy code modifications, cross‑team collaboration, or last‑minute feature requests. This buffer is not “slack” time; work proceeds at a normal pace, finishing early when possible.
9. Turn learning into code practice
Reading books alone creates an illusion of mastery. Implement the concepts you study in real code to truly understand their behavior, pitfalls, and practical usage.
10. Improve English proficiency
Most technical innovations and official documentation are in English. Even with limited English skills, developers can use translation tools, contribute to translations, and stay current with technologies like Kubernetes, which spread through English‑speaking communities.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
dbaplus Community
Enterprise-level professional community for Database, BigData, and AIOps. Daily original articles, weekly online tech talks, monthly offline salons, and quarterly XCOPS&DAMS conferences—delivered by industry experts.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
