?

Log in

No account? Create an account
Software Archeology - Captain's Log, Supplemental — LiveJournal [Update Journal]
September 24th, 2004
12:57 pm

[Link]

Previous Entry Share Next Entry
Software Archeology

Digging through bronzite's code is fun! (I'm assuming he won't have a problem with me posting this; I'll be happy to take it down if he does.)

  • Dim X As Integer 'OH MY! A Single-letter Variable name!

  • 'Should Earth's gravitational acceleration change, please modify this value accordingly.
    Private Const cKilosPerPound As Double = 2.2046226

  • 'So far as I can tell, this code is obsolete. It is kept on the off chance
    'something will break if we delete it. If you get bored, try
    'removing it and see if anything blows up.

  • 'If we're charging the customer upwards of $500,000 shipping, it may indicate
    'an error has occured (in much the same way fire on the wing of an aircraft
    'may indicate an error has occured).  Alert the user and ask if they really
    'want to do this (in much the same way the ILS might present you with a dialog:
    '
    '                   +-------------------------------+
    '                   |                               |
    '                   | (?)   Plunge to fiery death?  |
    '                   |                               |
    '                   |       [YES]         [NO]      |
    '                   +-------------------------------+

(8 comments | Leave a comment)

Comments
 
[User Picture]
From:pezzonovante
Date:September 24th, 2004 10:49 am (UTC)

hmmm....

(Link)
how does gravity affect the conversion rate between the metric and imperial systems?
[User Picture]
From:bronzite
Date:September 24th, 2004 10:56 am (UTC)

Re: hmmm....

(Link)
Kilos are mass. Pounds are force.
[User Picture]
From:bronzite
Date:September 24th, 2004 10:55 am (UTC)
(Link)
Did I really leave out the closing parenthese in that last one?
[User Picture]
From:petercooperjr
Date:September 24th, 2004 10:59 am (UTC)
(Link)
The next line is

'Perhaps we should find a better way to indicate errors.)


But, I didn't think that it was needed. I slightly edited some of the comments to remove information that wasn't really needed to get the humor across.
[User Picture]
From:rgfgompei
Date:September 24th, 2004 12:10 pm (UTC)
(Link)
Have I told you lately that I love you?
[User Picture]
From:jjlc
Date:September 28th, 2004 06:03 am (UTC)
(Link)
Actually that would be parenthesis, I believe...
MS Word agrees, too.
[User Picture]
From:sirroxton
Date:September 25th, 2004 10:35 am (UTC)
(Link)
*cracks up*

I never saw those comments. Fantastic!
[User Picture]
From:bronzite
Date:March 16th, 2005 04:07 pm (UTC)
(Link)
You know, it just occured to me, cKilosPerPound should be cPoundsPerKilo.
My Website Powered by LiveJournal.com