可用于团队项目中远程工作的约定

发布于 2024-09-10 00:17:26 字数 205 浏览 5 评论 0原文

在团队项目中进行远程工作(例如通过 CVS 或 SVN)时,您会建议采用什么样的约定?更具体地说,可以采取什么措施来避免某人进行可能是必要的大规模更改,并冒着混淆/延误其他团队成员的风险?如果需要进行测试,那么应该如何进行测试,以便代码不会受到在应用程序投入生产之前需要清除的指令的污染?我对与方法论有关的任何事情感兴趣,但也对任何可以增强沟通的小技巧感兴趣,例如在源代码中留下 TODO 注释。

What sort of conventions would you advise when doing some distance work (say through CVS or SVN) on a team project? More specifically, what can be done to avoid someone doing widescale changes, which might be necessary, and running the risk of confusing/delaying other team members? If testing is necessary, how should it be carried out so code isn't polluted with instructions that will need to be cleared out before the application is to go into production? I'm interested in anything that has to do with methodology but also any small tips that could enhance communication such as leaving TODO comments in the source code.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

_蜘蛛 2024-09-17 00:17:26

沟通比约定更重要。我的团队分为两部分,一半在欧洲,一半在美国,我们的成功来自于清晰、定期的沟通:

  • 每天 15 分钟的电话会议,每个人都会说出他们正在研究的领域。随后是电子邮件摘要。
  • 每周 2 小时的视频会议,有人展示一项复杂的工作。
  • 作为领导,我会在每项任务开始前与开发人员讨论至少几分钟,每天至少通过电话、即时消息或亲自与他们核对一次;并期待任务完成后的简短回顾。重点不是检查他们以确保他们做对了* - 如果我们不能 100% 确定他们可以,他们就不会被雇用。

关键在于,仪式性沟通建立了定期沟通的基本习惯,并使每个人保持同步。这些强制性内容让每个人在每次处理其他人可能需要知道的事情时都能轻松地拿起电话或与同事联系。

另外,请不要在源代码中留下 TODO 注释。抛出 UnsupportedOperationException/NotImplementedException 直到您准备好实现,然后完全实现它。

*正确并不意味着完美。总有更好的设计、更好的编码方式,持续的沟通有助于持续的反馈。

Communication is more key than convention. My team is split, half in Europe and half in the US, and our success comes from clear, regular communication:

  • Daily 15-minute conference call where everyone says the area they are working on. Followed up by an email summary.
  • Weekly 2-hour video conference where someone presents a complex piece of work.
  • As lead, I talk through each task with a developer for at least a few minutes before they start, check in with them at least once a day by phone, IM or in person; and expect a brief review when the task is complete. The point is not to check up on them to make sure they did it right* - they wouldn't have been hired if we weren't 100% sure they could.

The point is that ritual communication establishes a baseline habit of regular communication and that keeps everyone in sync. The mandatory bits make everyone comfortable enough to pick up the phone or approach a colleague every time they work on something the other might need to know.

Also, please don't leave TODO comments in source code. Throw a UnsupportedOperationException/NotImplementedException until you're ready to implement, and then implement it fully.

*Right doesn't mean perfect. There's always a better design, better way to code something, and continuous communication facilitates continuous feedback.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文