Have you ever been told that the reason giraffes have such long neck is that they evolved to eat leaves on tall trees? Well, you've been lied to. The real reason (surprise, surprise) is sex and mating:
The latest theory – and it's a surprise this hasn't come up before, given biologists' fixation with it – is that the long necks are the result of sexual selection: that is, they evolved in males as a way of competing for females.
Male giraffes fight for females by "necking". They stand side by side and swing the backs of their heads into each others' ribs and legs. To help with this, their skulls are unusually thick and they have horn-like growths called ossicones on the tops of their heads. Their heads, in short, are battering rams, and are quite capable of breaking their opponents' bones.
Having a long and powerful neck would be an advantage in these duels, and it's been found that males with long necks tend to win, and also that females prefer them.
The "necks for sex" idea also helps explain why giraffes have extended their necks so much more than their legs. If giraffes evolved to reach higher branches, we might expect their legs to have lengthened as fast as their necks, but they haven't.
Previously on Neatorama: 30 Strangest Animal Mating Habits
So the fact that both sexes have such long necks makes me inclined to think that it is for reasons that benefit both sexes such as being able to reach the leaves on trees. However I wouldn't be surprised if sexual selection is also a major factor considering the way the males fight each other by "necking".
So what's with the misleading intro, Alex?
"Have you ever been told that the reason giraffes have such long neck is that they evolved to eat leaves on tall trees? Well, you’ve been lied to. The real reason (surprise, surprise) is sex and mating."
While I don’t blame you for arguing your point considering Alex’s misleading intro, it appears that you didn’t read the article at the link. The researchers actually considered this by creating a theory that incorporates how different variables may have contributed to the giraffe’s long neck as an alternative to the current popular “strict adaptationism” theory. They even used an exaptation example of the giraffes’ ancestors initially developing longer necks to reach higher leaves, but then taking on more of a sexual selection role.
Regardless, there are some examples where “strict adaptationism” makes perfectly logical sense, such as the guts of ruminants being suited to digest cellulose.
I hope you still find it acceptable to at least speculate and develop possible theories (while making allowing for error) as to how certain physical features may have evolved in organisms rather than just give up because we will never know for sure.