I've worked with many Lebanese, and found them to be very intelligent and resourceful. The country had a huge brain drain to France and elsewhere during their civil war.
Not just during the war. It's been on-going ever since. I usually tell foreigners that our prime export is young engineers.
It is very rare for young and talented programmers to stay here. If they have the means to leave for the states or Europe and study and then work there, very few give it a second thought.