Measuring the productivity of programmers to many of us seems like a dangerous process, which leads to a lack of value delivered. This is true, but only if you use the wrong metrics to do your measurements. Use the right ones and everything will be fine.
Video is here: https://www.youtube.com/watch?v=yZcNHZ_FJco