Dear Mr. President
My
friend and I were talking about long job titles and how there seems to be a generally inverse relationship between the length of a person's job title and his actual ability. We also observed that if your job title doesn't tell people what you actually do, then you're probably not doing much. Take, for instance, the title Deputy Assistant Vice President. I remarked, upon hearing this title, that it's like Number 2 of Number 2 of Number 2, since that's more or less what the words "deputy", "assistant" and "vice" means. You might as well call the job Vice Vice Vice President.
We then came up with the following.
vice(degree){
if(degree==0)
return "president";
return "vice " + vice(--degree);
}
So in this case "vice(3);" would be the title of the guy above.
I think we can all agree that this is a more efficient method (method, get it? haw haw haw) for expressing such titles.
p.s. I am a software programmer, which means I get paid to think about stuff like that.
p.p.s. Yes, I know an iterative function would be more efficient usually, but recursive functions are just cooler.
Labels: funny, geek