News for hackers. Stuff that matters.
Re:The Problem With Comments by olalonde on Friday September 07, 2012 @04:55AM (#4488198)
Yes but this would go against the long tradition of coding with flat text files. See http://stackoverflow.com/questions/160633/why-do-we-still-pr...
Re:The Problem With Comments by ajuc on Friday September 07, 2012 @05:33AM (#4488289)
Some of us already use metadata in our daily coding - for example commit messages.

Recently I've noticed, that I comment less, and instead write more information in commit messages, and do svn blame more often.

It's better, because it has more context (you see to which changes this comment is relevant), and is always up-to-date, because you always write fresh commit messages.

We have a rule in company, that you have to add task number from JIRA to each commit message, and this alone is a huge improvement - you can always check WHY some change was made).

Re:The Problem With Comments by phpnode on Friday September 07, 2012 @04:58AM (#4488206)
not necessarily, you could do what docco does and assume that comments pertain to the lines of code immediately below them, up until the next comment or the end of the function
Re:The Problem With Comments by SquareWheel on Friday September 07, 2012 @05:00AM (#4488213)
Well, we could use a commented syntax and build editor support for it. If HTML, <!-- COMMENT: lorem ipsum -->. If C/Java/etc. then the same but with /* */.
Re:The Problem With Comments by LaRakel on Friday September 07, 2012 @05:42AM (#4488313)
Tags in comments already exist, most common are probably TODO, FIXME and NOTE.