To: Billthedrill
I've seen the comment "You wouldn't understand this" next to a complex regex line. In production code.
/johnny
To: JRandomFreeper
I've seen the comment "You wouldn't understand this" next to a complex regex line. In production code. If you've seen the comment: "Explanation more complicated than the code itself" you've view sourced my code and realized the reason programmers make minimal notations.
20 posted on
07/02/2014 9:35:37 AM PDT by
Henchster
(Free Republic - the BEST site on the web!)
To: JRandomFreeper
We had to insert a couple of lines of code something like —
x=y
y=x
With a comment
C Do not remove or change these lines.
This was necessary to cure a compiler problem. Sometimes, the compiler, when it grabbed a section of code, would get an error. This changed the section of code’s boundary.
My favorite computer quote:
“Problems that go away by themselves come back by themselves.”
25 posted on
07/02/2014 9:50:56 AM PDT by
Scrambler Bob
(You can count my felonies by looking at my FR replies.)
To: JRandomFreeper
I've seen the comment "Nobody here or at knows what this statement does, but if it's changed, the display quits working" in aircraft display software.
45 posted on
07/03/2014 10:37:48 AM PDT by
DuncanWaring
(The Lord uses the good ones; the bad ones use the Lord.)
To: JRandomFreeper
I've seen the comment "You wouldn't understand this" next to a complex regex line. In production code. /johnny Well, at least they were *honest*...
Cheers!
46 posted on
07/04/2014 7:06:17 AM PDT by
grey_whiskers
(The opinions are solely those of the author and are subject to change without notice.)
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson