Lawyers
A very successful lawyer parked his brand-new Lexus in front of his office, ready to show it off to his colleagues. As he got out, a truck passed too close and completely tore the door off of the driver's side. The counselor immediately grabbed his cell phone, dialed 911, and within minutes a policeman pulled up.
Before the officer had a chance to ask any questions, the lawyer started screaming hysterically. His Lexus, which he had just picked up the day before, was now completely ruined and would never be the same, no matter what the body shop did to it.
When the lawyer finally wound down from his ranting and raving, the officer shook his head in disgust and disbelief.
"I can't believe how materialistic you lawyers are," he said. "You are so focused on your possessions that you don't notice anything else."
"How can you say such a thing?" asked the lawyer.
The cop replied, "Don't you know that your left arm is missing from the elbow down? It must have been torn off when the truck hit you."
"Ahhh!" screamed the lawyer. "Where's my Rolex!"
My Local and Global Problem
It took me awhile to find a joke that dealt with an issue I had yesterday while programming. I spent an hour yesterday trying to figure out why my boolean flag kept saying it was undefined. I placed response.write's everywhere trying to solve this problem. After scratching my head I realized that I declared the variable locally and not globally.
This joke above reminds me how global and local variables work. For those of my readers that I am boring since they do not know programming I will explain what local and global variables are. Global variables are what the world can see. Every function can see it. Local variables can only be used by a single person. No one else (other functions) cares about the local variable since they have no clue it exists. Yes I am a nerd seeing the connection between the man's watch and car being global and his missing arm as local.
The more I blog, the more I realize I am such a geek. I spend my free time looking for a joke that can help me explain points in programming! But at least I am trying to have a blog a day to make your boredom go away and please come back another day! That was just corny and made little sense!
Eric Pascarello