I worked a little with DevExpress CodeRush and Refactor! Pro this week, and I picked up a comment plugin that will automatically generate comments when you enter the code.
I donโt want to go into how well work on choosing a base value (pretty good, actually), but its default implementation raises the question.
By default, entering the "} character to close the block will cause the plugin to add a comment like the following ...
using(MyType myType = new MyType()) { myType.doWork(); }
(i.e., adding a comment to the closing parentheses where it was opened.)
While I see that there are cases where this behavior can be very useful, I feel that the resulting code looks very untidy with all the additional comments.
I was wondering what other people are; Take such a comment. Not only from an academic point of view, but if I get a large number of negative comments about them, I can decide whether to impose them on my colleagues or supplant them.
source share