Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: Billthedrill
I've seen the comment "You wouldn't understand this" next to a complex regex line. In production code.

/johnny

12 posted on 07/02/2014 9:29:42 AM PDT by JRandomFreeper (Gone Galt)
[ Post Reply | Private Reply | To 7 | View Replies ]


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!)
[ Post Reply | Private Reply | To 12 | View Replies ]

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.)
[ Post Reply | Private Reply | To 12 | View 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.)
[ Post Reply | Private Reply | To 12 | View Replies ]

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.)
[ Post Reply | Private Reply | To 12 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson