The most common and most likely answer to this crossword clue is the 7 letter word GENETIC
I've seen this crossword clue in Independent
G
E
N
E
T
I
C
Buddy explains!

The straight part
We know that "Like type of code" is the straight/definition part of the clue. The straight part is often a synonym or definition, in this case like type of code = genetic.The cryptic/wordplay part
In cryptic crossword there's often an wordplay/cryptic part as well.This part involves a more complex hint, such as an anagram, homophone, hidden word, etc.
Sadly, We don't have an explanation for this specific crossword clue yet.
What does GENETIC mean?
GENETIC adjective- Relating to genetics or genes.
- Caused by genes.
- Of or relating to origin (genesis).
- Based on shared membership in a linguistic family.
- Based on a shared membership in a religious family.