What is your best code comment this year?
-
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....?"
-
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 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.
;P Mine is: //Ha Ha - Gotcha! //Thought this function really did something, didn't ya?
-
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 drop to a command prompt and type: COPY CON PROGRAM.EXE And then begin whistling into their 1200 baud acoustic-coupler modem.
-
Real programmers don't need a compiler.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]Real programmers need only beer! They program everything else!
-
Real programmers have work to do, and don't write stupid comments on threads :-)
Real programmers don't work, they do enjoy programming. Real programmers don't write stupid comments on thread just because they don't use threads... :-D
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
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.