Slashdot Log In
Auto Code Commenting Software, Free Chairs
Posted by
CmdrTaco
on Fri Apr 01, 2005 03:14 PM
from the its-like-christmas dept.
from the its-like-christmas dept.
sien writes "When you think about it, code is usually fairly mundane and simple. Finally someone has come up with a parser and lexer that actually auto-comments code, allowing for vastly more rapid coding. This amazing new tool is called The Commentator and claims to analyse source code as it's being written and insert the necessary code comments. It's absolutely amazing. Also the problem of seating for eXtreme Programming has finally been solved."
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
Please shoot me now! (Score:3, Funny)
chair.. (Score:3, Funny)
Re:chair.. (Score:5, Funny)
Parent
Re:chair.. (Score:2)
Come on guys! Test, build, *then* refactor...
Extreme XP seat? (Score:2, Funny)
I'm confused... (Score:2, Funny)
Re:I'm confused... (Score:2)
Off-color Commentary (Score:5, Funny)
I know it's an APJ... (Score:2, Insightful)
Re:I know it's an APJ... (Score:2)
And if they DID wipe out half their storage, I would be like, "Dude! You'd better look out -- that Ninja just dropped the PENDING_ORDERS table in Production and I think he's going flip out and chop off somebody's head!"
good code (Score:2, Funny)
Good code doesn't require comments - the variable names should tell you everything you need to know about the program.
Re:good code (Score:4, Funny)
Parent
Re:good code (Score:2)
Re:good code (Score:2, Insightful)
And remember kids, GOTO is the one true flow manipulator. Accept no substitutes.
This comes up in every discussion on comments... (Score:5, Insightful)
Good variable names (class names, function names, etc.) go a long way: they tell you a lot about WHAT the program is doing. (I would argue that they can't always say everything too, but that's another matter.)
However, they don't tell you WHY you are doing what you are doing.
Also, remember there are other reasons for comments besides people reading your code. JavaDoc/Doxygen comments allow documentation to be produced right from the source. Comments such as
Parent
this is why only one comment is necessary (Score:2)
Re:good code (Score:5, Funny)
You must be the guy that made the database at the last place I worked! The column names were complete sentences, including spaces and punctuation (it had never occurred to me that you could even do that). It was a real bitch to work with. Find the middle ground.
Parent
OMG LOTF (Score:3, Insightful)
Extra Madden Option (Score:5, Funny)
Auto April Fools Submitting (Score:3, Insightful)
None of the
Come on 12am...
Re:Auto April Fools Submitting (Score:2)
It's genious really.
Comments... (Score:5, Funny)
Nice example of poor commenting style (Score:3, Insightful)
i++;
really slow down the comprehesion level of most competent programers, because they have to filter out a lot of redundacy. Comment on purpose, on the more general function of things, etc. An automated program, could only really comment on the code that was there, and likely in an obvious way.
Not to detract from the marvelous humor of the 'article' but it was a good demonstration of the problem.
I can't wait! (Score:2)
It's 12:20 on the west coast. Only another 3 1/2 hours left.
(( On the bright side, though, I did convince a friend that I'd taken a job in Redmond as a shill for (OK: 'Spokesperson') for Microsoft. ))
got this from fortune (Score:3, Funny)
I wish all the software I saw was as well commente (Score:4, Insightful)
I've never understood why people do things like this. Why not do something useful: specify what's a valid or invalid value of newHome, say when it should or should not be called. Or just leave it blank if you can't find something useful to say.
Re:I wish all the software I saw was as well comme (Score:3, Informative)
I suspect that you're trolling, but that is a Javadoc comment. The comment text, "Sets the Home to a new value," will be used as the method's description in the automatically generated HTML documentation.
The personality check answers all questions.. (Score:2)
"Commentator" - you can get it for free. (Score:2)
Utterly useless to me (Score:2, Interesting)
Re:Utterly useless to me (Score:2, Funny)
This one is giving my PHB an idea :( (Score:3, Funny)
Missing languages (Score:2)
Let's see, it's April Fools... (Score:2)
Me, I love April 1 because I can ignore
PaiRON? (Score:2)
PairOn... Pron... PairOn... Pron...
I don't know, but that chair seems designed exclusively for eXtreme Pr0n-watching with the SO.
Oh, wait; I'm on Slashdot... nevermind.
// TODO... (Score:5, Funny)
Comments ... NO! (Score:2, Interesting)
Before:
int i = 1;
while (i 1000) {
i ++;
}
After:
int i=11;
while (i 8003) {
i += 8;
}
Best April Fools I've seen :) (Score:3, Funny)
major lol
--
Toby
First Test Run (Score:3, Funny)
20 END 'boy I'm glad that's over
Re:This is becoming tedious. (Score:2, Insightful)
The fun of April fool's articles used to be picking the genuinely fake article amongst a whole heap of bizarre but true stories.
But this is just becoming boring.
Re:This is becoming tedious. (Score:5, Insightful)
Parent
Re:This is becoming tedious. (Score:5, Informative)
Relax, go over to Fark, who's random joke page can actually be amusing and read about the Pope being note quite dead yet and come back to Slashdot tomorrow. If you actually miss anything real, you can read it then.
Parent
Re:This is becoming tedious. (Score:3)
short term memory loss (Score:2)
Clearly, I need to recalibrate the delicate balance of caffeine and cannabis in my system...
Re:Comments? Who needs comments? (Score:2)
Re:LOL (Score:2)
Re:Enough of the damn April Fools jokes (Score:2)
Re:ENOUGH!!!! (Score:5, Funny)
Parent
Re:Dead horse.... (Score:2)
Re:*THE* Authority for all april fools pranks (Score:3, Insightful)
See user's other posts at
http://slashdot.org/~Urgo [slashdot.org]