quinn222: (502j amused - made by paddies)
Add MemoryShare This Entry
posted by [personal profile] quinn222 at 02:09pm on 21/11/2005
Showing my geek mentality here but This article is hilarious. I think you have to write code to get the joke but I'm not certain. It's an article about how to write unmaintainable code.




Obscure film references



Use constant names like LancelotsFavouriteColour instead of blue and assign it hex value of $0204FB. The color looks identical to pure blue on the screen, and a maintenance programmer would have to work out 0204FB (or use some graphic tool) to know what it looks like. Only someone intimately familiar with Monty Python and the Holy Grail would know that Lancelot's favorite color was blue. If a maintenance programmer can't quote entire Monty Python movies from memory, he or she has no business being a programmer.
There are 8 comments on this entry. (Reply.)
 
posted by [identity profile] nebulein.livejournal.com at 05:34am on 22/11/2005
*snickers* brilliant. i love it. and this so reminds me of a classmate I had in Computer Science last year who actually used names like this. The best class name he ever produced was something like 'OrderOfTheKnightsOfSunDownAndSunRiseAndEverythingElseThatHasToDoWithTheElevationOfTheSun'. I kid you not.

~NEbU~
 
posted by [identity profile] quinn222.livejournal.com at 12:10pm on 23/11/2005
The best class name he ever produced was something like 'OrderOfTheKnightsOfSunDownAndSunRiseAndEverythingElseThatHasToDoWithTheElevationOfTheSun'. I kid you not.

ROTF!!!
 
posted by [identity profile] scheisse-adc.livejournal.com at 06:39am on 22/11/2005
my computer science professor is obsessed with star wars (and, to a lesser extent, tolkien), and likes to use obscure character names and references for his constants and such when he writes our exams, just to mess with us. it always cracks me up, but some people in the class hate it!
 
posted by [identity profile] quinn222.livejournal.com at 12:11pm on 23/11/2005
it always cracks me up, but some people in the class hate it!

It would crack me up. My programming instructors would makr me way down for though. They were totally into the whole 'make everything perfectly clear' thing.
 
posted by [identity profile] scheisse-adc.livejournal.com at 11:05pm on 23/11/2005
yeah, he only does it when it's supposed to be confusing anyway ("find the errors"- and "what does very long piece of code with lots of irrelevant and misleading information print out?"-type questions...).
 
posted by [identity profile] scheisse-adc.livejournal.com at 11:05pm on 23/11/2005
oops. that should read "what does this very..."
 
posted by [identity profile] kitkatbyte.livejournal.com at 01:09pm on 22/11/2005
I only had time so far to read part of it, but that's very funny. Thanks for the link!
 
posted by [identity profile] irishcaelan.livejournal.com at 01:44pm on 24/11/2005
BWAHAHAHA!!!! I am always accused of stream of consciousness coding that only I can understand.

January

SunMonTueWedThuFriSat
1
 
2
 
3 4
 
5
 
6
 
7
 
8
 
9
 
10
 
11
 
12
 
13
 
14
 
15
 
16
 
17
 
18
 
19
 
20
 
21
 
22
 
23
 
24
 
25
 
26
 
27
 
28
 
29 30
 
31