I love Stack Exchange. I love the fact the community tries to keep questions on-topic. But I think locking of questions should be reconsidered.
My example is this Stack Overflow question: "Best C++ Code Formatter/Beautifier", which I feel VERY strongly about.
The thing is that this is the top result in Google when I search for C++ code formatter
, and it is severely outdated and thus is spreading misinformation - in the recent years a far supreme tool has come out - clang-format
.
The thing with information on technology is that unlike wine it does NOT get better with age - it becomes harmful in this rapidly/constantly evolving young industry.
So I found no direct way of contacting the administrator who locked it (which is fine with me), so I am turning to you guys. This question should be either deleted or unlocked.
And maybe when a question is off-topic or is not in the spirit of Stack Overflow, the poster should have a little penalty (increasing with each next felony) or something like that - you can figure out the right way - but the current approach is BAD for some of the locked questions...
EDIT: (added a possible answer to the Stack Overflow question)
clang-format is a powerful command line tool bundled with the clang compiler which handles even the most obscure language constructs in a coherent way.
It can be integrated with Visual Studio, Emacs, Vim (and others) and can format just the selected lines (or with git/svn to format some diff).
It can be configured with a variety of options listed here.
When using config files (named
.clang-format
) styles can be per directory - the closest such file in parent directories shall be used for a particular file.Styles can be inherited from a preset (say LLVM or Google) and can later override different options
It is used by Google and others and is production ready.