Objective, concrete, quantifiable metrics are the unsolved problem. Every one that I've ever heard of can be gamed by the developer. The only exception to this that I can think of is the metric of product success in the market. But it's too large-scale to be useful in measuring individual employees.
Subjective metrics are quite common and effective. That's how good programmers such as <insert favorite hacker hero here> are regarded as good.