What are the best methods for COMMENTS :
A bit of background.
- All our projects use version control (Subversion / SVN / Git),
- Most of them are affected by two or more developers,
- We use Springloops to host our version control, as it "just works" and has a higher level than having an internal developer,
- Since many of our clients have special settings, and since he works on setting up these environments for several users, we rarely work with the local dev environment. Most customers have a developer’s location in the cloud, and then in real time. Springlops is configured to automatically push EVERY commit to the dev server, and developers must manually click on live places.
Our policy was to comment on ALL that you do, but some of us have recently rebelled against this idea.
The problem with commenting is only twice, it works more and is less useful. Here are the problems we see:
This encourages people to make comments that cover things that are already in version control (i.e. I changed line 42 to make blah). You can simply compare to get the same information!
Alternatively, it will populate your comment stream with useless comments, which are a HUGE pain if you ever want to search for comments.
- Margin issues in IE8
- Other margin fix in IE8
- Returning the latest patch and attempting to use something else with the brand in IE8
Any of these things just adds a lot of time and doesn't add any meaning. Comments are only useful if they are specific enough and rare enough that you can scan everything.
We were told that Git handles this more intelligently than Subversion, and we are open to change and obviously have a local development environment and only make lots of changes would also help, but based on our use, which is likely to be a net loss from the point view of efficiency.
I'd love to hear what best practices are for commenting commits, thanks for any feedback!
source share