The employer of one of my coding heroes, John Carmack is currently being sued by ZeniMax over unspecified IP that he may or may not have taken with him to his new spot. He responded to the suit and inquiries by the general public with tweets here: Oculus uses zero lines of code that I wrote while under contract to Zenimax. And a slightly older one: No work I have ever done has been patented.