Here’s a quick and easy test to determine what programming language best suits your personality.
There’s a very tall palm tree, and four animals happen to pass by:
a giraffe, and
They decide to have a competition to see who is the fastest one to get a banana off the tree.
Which one won? Think of your answer before you read on…
Retrieving a banana symbolizes the successful completion of an application.
If you picked the chimpanzee, your language is Visual Basic. They love bananas, and probably end up retrieving more of them than any other animal. However, although they’re ostensibly human-like, they spend a lot of their time screaming and flinging poo.
If you chose the lion, you’re Java. The lion cannot climb the tree, but he thinks that by making a lot of self-important noise, an inheritance hierarchy will emerge that causes the banana to come to him.
If you picked the giraffe, you’re a PHP person. Like the giraffe’s neck, it has a feature specially crafted for every purpose — provided you can remember its name and whether it returns an integer, a boolean, or both.
If you named the squirrel, you’re Ruby. Agile and swift, he easily gets there first. But a banana is too heavy to carry.
Which one actually won?
None of them.
A palm tree doesn’t have any bananas!
Which goes to show that the language you take
Isn’t as important as the assumptions you make
(Adapted from an email from Joe Ector)