BenD- re: dummy functions that work:
"Reality - What a Concept" (this was a quote from Robin Williams. The idea of mixing Reality and Robin in the same sentence is an oxymoron <g>) which BTW is the t-shirt my wife brought me to wear home from the hospital on Sunday - she has a good sense of humor also (hey, she puts up with me!!) -Ben At 04:43 PM 3/4/03 -0500, you wrote: >Of all the comments about code I've made, my favorite was actually out loud. > >During a programming contest, I finished up a couple of routines and ran the >thing to make sure it compiled, didn't get any runtime errors, etc. When it >finished, I looked at the screen completely baffled. > >"Did it work?" asked my partner. >"Yeah." I replied. >"So?" >"It shouldn't have. This here just throws a constant -- it's just dummy >code." > >So I ran it on the second test case. Worked again. Instant confusion. > >Turns out that '3' or whatever the dummy function was returning turned out >to be correct for a small but significant section of the problem space, but >for that first few seconds it was a really /wierd/ feeling. > > >-- Ben Doom > Programmer & General Lackey > Moonbow Software, Inc > >: -----Original Message----- >: From: Ben Braver [mailto:[EMAIL PROTECTED] >: Sent: Tuesday, March 04, 2003 1:18 PM >: To: CF-Community >: Subject: Funny Code Comments >: >: >: Nick- >: re: the code comments, >: Worked once at EDS on an obscure mainframe - Burroughs 4800 >: running MCP-V OS. Check processing application. Program which ran >: the MICR (magnetic ink)check sorter machines had a bold comment >: box at the top of a dense section of assembler code: "Abandon all >: hope he who changeth code between lines x and y". Nobody new >: exactly what the code did, but you couldn't touch it. >: :-) >: >: Another funny by an irreverent lead programmer at Del Monte >: Foods, in the COBOL Security paragraph: >: Security. Post 2 armed guards. >: >: -Ben >: > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=5 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=5 Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
