having or showing skill in achieving one's ends by deceit or evasion.
"a cunning look came into his eyes"
Pedantic is an insulting word used to describe someone who annoys others by correcting small errors, caring too much about minor details, or emphasizing their own expertise especially in some narrow or boring subject matter.