Crossword Genius

Who, for example, inverted degenerate set of principles endlessly? (6)

Ross

I believe the answer is:

doctor

I'm a little stuck... Click here to teach me more about this clue!

'who' is the definition.
(from 'Doctor Who', the famous TV series)

'inverted degenerate set of principles endlessly?' is the wordplay.
'inverted' is a reversal indicator.
'degenerate' becomes 'rot' (rotting is a kind of degenerating).
'set of principles' becomes 'code' (I've seen this in another clue).
'endlessly?' means to remove the last letter (I've seen 'endlessly' mean this).
'rot'+'code'='rotcode'
'rotcode' with its last letter taken off is 'rotcod'.
'rotcod' backwards is 'DOCTOR'.

'for example' is the link.
This may not be right. Some or all of it may be part of another bit of the clue.

Can you help me to learn more?

(Other definitions for doctor that I've seen before include "Spike?" , "One treats the ill" , "Falsify; quack" , "Medical practitioner, for instance" , "Medical specialist" .)

I've seen this clue in The Guardian.
Want a hint initially instead of a full solution? Install my app