You're making the mistake of thinking that all programmers respond to the same forms of leadership.
You're also making the mistake of assuming that programmers are inherently different to other humans.
You're also making the mistake of assuming that programmers are inherently different to other humans.
The point is that no single approach can work for all people.