Person using wit cracks main code (8)
I believe the answer is:
comedian
'person' is the definition.
(comedian is a kind of person)
'cracks main code' is the wordplay.
'cracks' indicates an anagram.
'main'+'code'='maincode'
'maincode' with letters rearranged gives 'COMEDIAN'.
'using wit' is the link.
I am not very happy about this link. Some or all of it may be part of another bit of the clue.
Can you help me to learn more?
(Other definitions for comedian that I've seen before include "Demoniac kind of funny man" , "performer" , "Cracker?" , "Comic" , "Hope, say" .)