It depends, we have the dumb blond stereotype and I know of developers who are attractive and have a harder time interviewing because they get perceived as dumber. It could be that there's an unconscious bias of hiring someone that looks like a stereotypical movie hacker (long hair, beard, wearing old tech swag, etc). This is of course changing slowly after Apple made a push on cleaning up the image of all the higher ups to have them be part of the presentations and now all companies seem to hire PR consultants that work the appearance of their clients. You sort of see this aesthetic trickle down with time.
1) Jonny Ive http://www.edibleapple.com/2010/04/14/back-when-jonathan-ive...
2) Thiel and Musk (check Thiel's teeth) https://i.insider.com/5dc349153afd375c04352664?width=1136&fo...
3) Bezos https://i.insider.com/596ccf31abc1c828528b4c9a?width=1136&fo...
Guess money fixes beauty :)