In that environment, you learn quickly what skills separate a good programmer from a bad one. The traits I found the most useful:
-Learning speed (ability to quickly grasp a completely foreign concept)
-Creativity (without a template of how others do it, you are the trail blazer)
-Patience, because the really bad programmers wouldn't even try, they would curse it as stupid and leave or get someone else to do the work.