The worst programmer I knew never had any productivity problem; if anything he produced too much code, outpacing the others' ability to maintain certain levels of quality.
He ended up promoted; in many organizations, people that hack the code rather than properly design and build sustainable solutions are highly valued.