设定技术方向意味着定义团队的系统和实践在一到三年内应该达到的位置,以及到达那里的可信路径。它将今天的工作与一个连贯的未来联系起来,使得团队能够朝着某个目标构建,而不是被动地逐个应对问题。
如何设定方向
text
✓ Start from BUSINESS goals — where is the product going? What scale?
✓ Assess the CURRENT state honestly — strengths, debt, risks
✓ Define a TARGET state — the architecture/practices you're aiming for
✓ Find the GAP and sequence the steps to close it
✓ Make it CONCRETE — principles and priorities, not buzzwords
✓ Write it down and SELL it — repeat it until the team internalizes it
✓ REVISIT as reality changes — direction, not a fixed contract
一个具体的例子
业务计划在两年内将用户增长10倍。你的方向:"从单一数据库转向service-per-domain模式,按照这个顺序进行,优先处理会首先遇到扩展限制的部分。"此后,每个项目要么推进该方向,要么是有意识的例外。
难点:在愿景和实用主义之间保持平衡
方向必须野心勃勃到足以重要,但也要扎根到足以逐步执行。没有近期步骤的愿景是幻想;没有愿景的近期工作是漂移。你需要两者,并且它们要相互关联。
