I worked at a large Canadian bank where they had a programmer like this guy. They let him come in at noon and work 'til whenever he wanted. He had the long hair and the smell and he named all his computers (he had four servers at his desk) after planets.
It took me 1 microsecond to figure out he was an a$$hole. I was sent to learn how to install this Windows service he had developed some years earlier - he obviously didn't want me to know how it worked. It was installed on every single system that talked to the mainframe at this bank. He proceeded to try to confuse me by rolling his chair from one server to the next while he ran through this complicated installation of products (it relied on a bunch of other, properly configured software). Unfortunately for Dingus, I'm a pretty darned good shoulder surfer, having worked with Aholes like him before.
Five minutes later, I walked out of his hovel, he with a smile on his face thinking he'd confused me and that I'd be back, me with the knowledge of how his software worked.
A couple of days later, I showed my manager how his software was logging the userid and passwords (in the Windows Event Log) of every supervisory user who logged on to the systems that made use of his software. The excrement hit the fan!