Fundamentals 8 min read

10 Essential Habits Every Programmer Should Master

This article outlines key professional habits for programmers, from learning when to say yes or no and building a personal knowledge system to mastering code standards, reviews, time management, and proactive problem‑solving, all aimed at fostering long‑term career growth.

21CTO
21CTO
21CTO
10 Essential Habits Every Programmer Should Master

慎于说Yes (Be Cautious About Saying Yes)

Before committing, a promising programmer should fully understand requirements, workload, and team expectations. Newcomers often overcommit to impress, leading to missed deadlines or unmet expectations, causing growing disappointment from others.

敢于说No (Dare to Say No)

When faced with unreasonable requests, one should refuse with well‑prepared reasons. Saying No rarely, but when done, it must be decisive. A good programmer knows his role, distinguishes unreasonable from reasonable demands, and communicates with leadership to gain support.

构建自己的知识体系 (Build Your Own Knowledge System)

In the age of information overload, fragmented knowledge is abundant. Without a personal knowledge framework, one can be lost. The recommended practice is to use a Wiki or knowledge‑management tool to organize categories such as soft skills, architecture, languages, front‑end, back‑end, etc.

培养大局观 (Develop a Big‑Picture View)

Programmers often focus narrowly on their own tasks, ignoring team progress, overall architecture, and other modules. Over time this limits growth. A good programmer regularly reviews what others are doing, studies system design documents, and understands why products are designed a certain way.

代码规范 (Code Standards)

New developers should adopt existing company coding standards or create their own, covering naming, module division, and tool integration. The classic reference is “Code Complete”. Consistent style is a fundamental step for beginners.

代码审查 (Code Review)

Encourage regular code reviews, whether formal or informal. Reviewing others’ code provides new ideas; having your code reviewed yields valuable feedback. It should become a team habit.

专注单一语言类型 (Focus on One Language Type at a Time)

While web development may require multiple languages, rapid improvement comes from deepening expertise in a specific area, such as CSS. Practicing a single language intensively (e.g., CSS Zen Garden) yields better results than spreading effort thinly.

通过注释写逻辑 (Write Logic Through Comments)

Most code is logic; translating human language to programming language does not change the underlying logic. Clear comments help convey that logic.

良好的时间管理 (Effective Time Management)

Punctuality matters; programmers often stay up late to meet deadlines, causing lateness the next day. Managing work hours is crucial for coordination with clients and teammates.

深入理解客户需求 (Deeply Understand Client Requirements)

Simply knowing a user’s surface request is insufficient. A great programmer can decompose complex requirements into technical tasks that precisely satisfy the client.

绞尽脑汁还是“NO” (Persist Without Giving Up)

When stuck, a great programmer remains resourceful: ask colleagues, consult leaders, search online, and experiment patiently. Giving up is never an option.

编程之前准备好全套算法 (Prepare Complete Algorithms Before Coding)

Flowcharts, case studies, and pseudocode are essential. A programmer should have algorithms ready before writing code.

理解并帮助定义验收标准 (Understand and Help Define Acceptance Criteria)

While product owners decide on test scripts, a great programmer must be able to write technical test scripts and recognize the risks of skipping this step.

主动一点点 (Be Proactive)

An excellent programmer takes initiative, monitors processes, improves application flexibility, and quickly resolves bugs without waiting for directions.

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.

Code reviewknowledge managementtime managementprogramming habits
21CTO
Written by

21CTO

21CTO (21CTO.com) offers developers community, training, and services, making it your go‑to learning and service platform.

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.