DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Bedtime Story  (Read 6,187 times)

Ralf Maximus

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 927
    • Coding Snacks
Bedtime Story
« on: December 07, 2007, 02:16 AM »
"Daddy, will you tell me a bedtime story?"

"Sure.  Once upon a time there were two variables."

"What were their names, Daddy?"

"We'll call them D and M.  And D and M were initialized together and were very happy.  And then one day, they, um... multiplied..."

"Is that a euphemism for anything, Daddy?"

"Not at all, dear.  Not at all.  Anyway, they multipled and the result was a bouncing baby variable named A."

"And they lived happily ever after!  Together!"

"Well, not quite.  You see, there was an another variable, who'd never bothered to get initialized.  His name was X."

"Ooooh.  Was he a bad variable?"

"Oh yes.  Because X wasn't initialized, he was a big fat zero.  And then, he tried to divide D and M!"

"Then what happened?"

"A horrible division by zero error!"

"Eek!"

"And then do you know what happened?"

"Tell me!"

"The bad old variable was taken out of the program, and then it compiled just fine.  The end."

"Um... Daddy?"

"Yes, sweetie?"

"You still program in BASIC, don't you?"

"Ah... well, it's Visual Basic."

"Poor Daddy."

Darwin

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,985
    • Gathering Badge
Re: Bedtime Story
« Reply #1 on: December 07, 2007, 02:31 AM »
:Thmbsup:

Very cute!
"Some people have a way with words, other people,... oh... have not way" - Steve Martin
« Last Edit: December 07, 2007, 03:42 AM by Darwin »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Bedtime Story
« Reply #2 on: December 07, 2007, 02:56 AM »
hahahahaaha.. nice one ralf  :D

tinjaw

  • I'm so glad breakbeat techno isn't an illegal drug
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,927
    • Participated in NANY Challenge Twice
    • Coding Snacks
    • Military Service Badge - US Army
    • Linux User
Re: Bedtime Story
« Reply #3 on: December 07, 2007, 03:13 AM »
Now tell me the one where the world is saved by Python 3000 !!!!!  :-*

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • Cody Award
    • Official Forum Clown
    • rotten turkey sandwich - Rotten Turkey Sandwich
Re: Bedtime Story
« Reply #4 on: December 07, 2007, 03:27 AM »
Now tell me the one where the world is saved by Python 3000 !!!!!  :-*

Didn't that Python have something to do with Apple?
Chris

nite_monkey

  • Member
  • Joined in 2006
  • **
  • Posts: 753
Re: Bedtime Story
« Reply #5 on: December 07, 2007, 03:47 AM »
lol, that was pretty funny.
[Insert really cool signature here]

Original address: https://www.donationcoder.com/forum/index.php?topic=11210.0