Whether you perform checks or not depends on the version control system VCS used. If you use SCCS (an old school, but part of the Single Unix specification), or if you use Atria ClearCase (from IBM Rational), then blocking checks is part of life. When using more modern systems when creating a working sandbox, you actually perform a check, but this is a non-blocking control that does not prevent others from making simultaneous changes from the same starting point.
You say that you are not compiling ... I bet your code is read by some program, and then it acts. Perl does not have a separate compiler as such, but it does have a compilation phase. Shell scripts are read and validated. Similar to Python and Ruby. A modern form of rule would say:
- You will never check code that is unacceptable to its language processor, whether it be an interpreter or a compiler. If your code is not at least syntactically correct, it does not belong to the main branches of the version control repository (although it may belong to your private working branch).
Clause 3, that he does not leave the verified code, remains essentially valid. If you keep the code in your sandbox for extended periods of time, then you will make your own life more difficult, as you will probably have more merging to deal with other people who have been working on the same code while You were in your private branch.
All other points seem valid in Git or SVN or CVS or ... since they are under SCCS or ClearCase.
source share