Из книжки по BizTalk
Oct. 1st, 2007 12:17 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
If code in source control does not compile, there needs to be a process in place to ensure that only compilable code is in source control. If not, the build is considered “broken.” Usually there is a special gift for any developer who breaks a build. One of us was once on a team where we would have a dunce cap for the coder who checked in broken code. It was required that he wear the “I Broke the Build” cap for two days while at work. It only took this particular author once to learn to never check bad code in again. Since this form of negative encouragement is often frowned upon by the politically correct, another trick is to have a “swear” jar. Each line of code checked into the build that doesn’t work costs $20. At the project’s completion, the money goes towards the party.