But in this case this code is copyrighted and has no open source license clause:
"His response to my comments was that because I didn’t explicitly put a copyright notice in my code that he could use it however he wanted (which I’m pretty sure isn’t true)."
AFAIK copyright law says its not obligatory whether there is a copyright header or not, the work would be copyrighted either ways. Copyright is there the moment you create the work. So what he did was clearly illegal (and unethical).