The most worthless comment ever
-
///////////////////////////////End/////////////////////////////
Found at the end of a source file :sigh:.
Software Zen:
delete this;
// Enter comments here.
-
///////////////////////////////End/////////////////////////////
Found at the end of a source file :sigh:.
Software Zen:
delete this;
We have some changes...
Steve Naidamast Black Falcon Software, Inc. blackfalconsoftware@ix.netcom.com
-
Super Lloyd wrote:
// enumerating i from 0 to 10 (Lloyd 29 07 2010) for (int i = 0; i < 10; i++)
Your comments are not accurate. You are enumerating from 0 to 9!
Pete
-
At least it's accurate.
Did you know: That by counting the rings on a tree trunk, you can tell how many other trees it has slept with.
-
///////////////////////////////End/////////////////////////////
Found at the end of a source file :sigh:.
Software Zen:
delete this;
Helpful if you intend to print it. Of course, I would expect a ////////BEGIN//////// or //////////Filename.cpp///////////////////// at the top. With the END tag, you will be able to tell if the entire document printed when the secretary delivers your hardcopy. :-D
-
///////////////////////////////End/////////////////////////////
Found at the end of a source file :sigh:.
Software Zen:
delete this;
----some code here---- // 19-03-2009 ----some code here----
Judge a man by his questions rather than his answers. - Voltaire
-
how about?
// enumerating i from 0 to 10 (Lloyd 29 07 2010)
for (int i = 0; i < 10; i++)
{
// printing i to the console (Lloyd 29 07 2010)
Console.WriteLine(i);
// TODO should do something more useful later (Lloyd 29 07 2010)
}A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.
A fantastic example. Comments are for programmers, and presumably the programmers know how to form console output and for loops, making the comments fairly pointless. This code breaks two good coding rules.. 1) comments are about WHY, not WHAT.. WHY are we enumerating 100 times? 2) use of really cryptic variable names, such as 'i'. Yechh.
-
//IOTEMCO This acronym was the brain child of a consultant working on our project. Its meaning: Intuitivly Obvious To Even the Most Casual Observer. This was somehow helpful in his mind.
-
A fantastic example. Comments are for programmers, and presumably the programmers know how to form console output and for loops, making the comments fairly pointless. This code breaks two good coding rules.. 1) comments are about WHY, not WHAT.. WHY are we enumerating 100 times? 2) use of really cryptic variable names, such as 'i'. Yechh.
Glad that someone was able to get the depth of worthlessness of my comments! :laugh:
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.
-
Glad that someone was able to get the depth of worthlessness of my comments! :laugh:
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.
-
///////////////////////////////End/////////////////////////////
Found at the end of a source file :sigh:.
Software Zen:
delete this;
// no comment
Thorn
-
how about?
// enumerating i from 0 to 10 (Lloyd 29 07 2010)
for (int i = 0; i < 10; i++)
{
// printing i to the console (Lloyd 29 07 2010)
Console.WriteLine(i);
// TODO should do something more useful later (Lloyd 29 07 2010)
}A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.
-
I'm not sure whether I should confess an inattention mistake, or boast a brilliant example of terrible comment!?
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.
-
I'm not sure whether I should confess an inattention mistake, or boast a brilliant example of terrible comment!?
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.
-
I personally don't find it necessary to worry that my editor is going to somehow 'fall off the end' of a file, and mark that end with a comment. That's like wearing a seat belt in your desk chair, because you're worried that the Earth's gravity might fail.
Software Zen:
delete this;
Kinda like wearing mountain boots in the Midwest. Really! i = i + 1 ' add one to i
-
When was the last time you loaded a box of green-bar in a line printer?
Software Zen:
delete this;
Loading green-bar into a line printer ... about 15 years ago. Using fan-fold paper - about 5 years ago. We still used fan-fold multi-part government forms and a nine-pin printer that recently.