Sorting cute girls using IComparable won’t get you a date

Although I found this article on C# sorting algorithms very useful, I think I found one flaw:

[Rolvin] has seen alot of girls around the area, met and chatted with some of them, got their numbers but he never thought about courting or asking some for a date up until now. Rolvin is smart.. he decided to pullout a tissue paper and listed all the names of the girls he met and some basic information about them. There are 3 things that he thought were important. First, the girl should have a name. Second, the girl that he will down on his list should have an age. And lastly, the “cuteness factor”. He thinks that he is a very handsome guy and he deserves somebody equal or greater than his looks(talk about ego;)).

Ok, now this is our chance to help Rolvin. We need to create the Girl class first.

It was all going so well until the last sentence. I think Rolvin probably needs to give in now.

Leave a comment

Your comment