What is your best code comment this year?
-
Mine is, "// TODO Still a big f*****g mystery why Category object in KpiAggregateCriteria has null UnitOfMeasure and DisplayFormat." It is in fact because EF doesn't load association sets automatically, unless they are explicitly projected in your query.
//Write comment for the method below I usually feel very lazy to write comments (I know its a bad practice)... I wrote the above once for a C# application I was writing.
-
Mine is, "// TODO Still a big f*****g mystery why Category object in KpiAggregateCriteria has null UnitOfMeasure and DisplayFormat." It is in fact because EF doesn't load association sets automatically, unless they are explicitly projected in your query.
In the middle of a 1700-line JS file: // <magic type='black'> [... 150-line Javascript function, returning a factory function to create and track state for a UI widget which, strictly speaking, should not work ...] // </magic> Some time ago, that same file started with a comment along the lines of: // abandon hope all ye who enter here I think I may have to restore that comment.
-
Mine is, "// TODO Still a big f*****g mystery why Category object in KpiAggregateCriteria has null UnitOfMeasure and DisplayFormat." It is in fact because EF doesn't load association sets automatically, unless they are explicitly projected in your query.
// I don't know what this method does ... but it works !!
-
Mine is, "// TODO Still a big f*****g mystery why Category object in KpiAggregateCriteria has null UnitOfMeasure and DisplayFormat." It is in fact because EF doesn't load association sets automatically, unless they are explicitly projected in your query.
Not my comment, but it is one of my all time favourites :
static const double c_PI = 3.14159265358979323846; //mmmmmmm PI
-
Mine is, "// TODO Still a big f*****g mystery why Category object in KpiAggregateCriteria has null UnitOfMeasure and DisplayFormat." It is in fact because EF doesn't load association sets automatically, unless they are explicitly projected in your query.
Mine's /* This is the main file; it does almost nothing except start up the application and keep the main message loop going. It's pretty important despite that last sentence. That's why it's labeled "main" and not something like "coconut" or "unimportant, delete on sight" */ :-O <---- What is this thing? :confused:
-
Mine is, "// TODO Still a big f*****g mystery why Category object in KpiAggregateCriteria has null UnitOfMeasure and DisplayFormat." It is in fact because EF doesn't load association sets automatically, unless they are explicitly projected in your query.
Found this one around a task list on a web page ... // It's my tasklist and I will cry if I want too ...
-
Real programmers don't need to program. They just manipulate the EM field generated by their brain so as to cause electrical anomalies which translate to hexadecimal instructions and machine code inside the processor.
OSDev :)
That would be electric pulses generated by induction produced by variable EM field of the brain.
-
CPallini wrote:
real programmers don't use IDEs
Pfft. You're not a real programmer until you've built your own compiler.
OSDev :)
-
Mine is, "// TODO Still a big f*****g mystery why Category object in KpiAggregateCriteria has null UnitOfMeasure and DisplayFormat." It is in fact because EF doesn't load association sets automatically, unless they are explicitly projected in your query.
// Do [insert a paragraph about a complex process] (( Not yet implemented ))
-
Mine is, "// TODO Still a big f*****g mystery why Category object in KpiAggregateCriteria has null UnitOfMeasure and DisplayFormat." It is in fact because EF doesn't load association sets automatically, unless they are explicitly projected in your query.
I litter my code with trinkets for the other members of the team and as little gems for the future. With over 500 assemblies and millions of lines of code, the chances of finding comments ranging from the mundane to the hilarious are pretty slim. Apart from the standard // Workaround for & // to do: there are: /* you're the real thing, yeah the real thing, even better than the real thing. :ds */ (under a particularly crafty bit of genius) // f*** direct debits, I wanna go home :ds (after a particularly long night wrestling with a settlement instruction file) // who's yer daddy? :ds (above call to an inherited method) I still comment my code adequately with "normal" comments. Just find this makes code more fun to read.
But fortunately we have the nanny-state politicians who can step in to protect us poor stupid consumers, most of whom would not know a JVM from a frozen chicken. Bruce Pierson
Because programming is an art, not a science. Marc Clifton
I gave up when I couldn't spell "egg". Justine Allen -
Real programmers don't need to program. They just manipulate the EM field generated by their brain so as to cause electrical anomalies which translate to hexadecimal instructions and machine code inside the processor.
OSDev :)
Real programmers don't need processors.
-
In the middle of a 1700-line JS file: // <magic type='black'> [... 150-line Javascript function, returning a factory function to create and track state for a UI widget which, strictly speaking, should not work ...] // </magic> Some time ago, that same file started with a comment along the lines of: // abandon hope all ye who enter here I think I may have to restore that comment.
I was trying to get a certain CSS3 selector (forget which one, now) to work in Firefox and Webkit type browsers, without -moz- and -webkit- prefixes (I'll share the secret later). I used <magic> tags, but didn't comment them out =p
-
Not my comment, but it is one of my all time favourites :
static const double c_PI = 3.14159265358979323846; //mmmmmmm PI
-
Real programmers don't need to program. They just manipulate the EM field generated by their brain so as to cause electrical anomalies which translate to hexadecimal instructions and machine code inside the processor.
OSDev :)
Real programmers have work to do, and don't write stupid comments on threads :-)
-
Mine is, "// TODO Still a big f*****g mystery why Category object in KpiAggregateCriteria has null UnitOfMeasure and DisplayFormat." It is in fact because EF doesn't load association sets automatically, unless they are explicitly projected in your query.
// No Comment ...
-
Real programmers don't need to program. They just manipulate the EM field generated by their brain so as to cause electrical anomalies which translate to hexadecimal instructions and machine code inside the processor.
OSDev :)
I get this is a joke but is anyone else annoyed by people who are serious when they use a phrase like "real programmers do....?"
-
Mine is, "// TODO Still a big f*****g mystery why Category object in KpiAggregateCriteria has null UnitOfMeasure and DisplayFormat." It is in fact because EF doesn't load association sets automatically, unless they are explicitly projected in your query.
Not a comment, but in a defect report under "steps to reproduce" ... "Chant magic incantation three times then wave wand."
while (e) { Coyote(); }
-
Mine is, "// TODO Still a big f*****g mystery why Category object in KpiAggregateCriteria has null UnitOfMeasure and DisplayFormat." It is in fact because EF doesn't load association sets automatically, unless they are explicitly projected in your query.
This was from last year (or maybe two years ago). It was written by a contractor in some code for us. It wreaks of irony because it is a completely illogical statement, yet completely true in this software context of the code. // Note: there are 1024 milliseconds in a second
-
Mine is, "// TODO Still a big f*****g mystery why Category object in KpiAggregateCriteria has null UnitOfMeasure and DisplayFormat." It is in fact because EF doesn't load association sets automatically, unless they are explicitly projected in your query.
// be real programmer and go on
:laugh:
-
I get this is a joke but is anyone else annoyed by people who are serious when they use a phrase like "real programmers do....?"