deprecate vs have a go at

deprecate

verb
  • To declare something obsolescent; to recommend against a function, technique, command, etc. that still works but has been replaced. 

  • To belittle or express disapproval of. 

have a go at

How often have the words deprecate and have a go at occurred in a corpus of books? (source: Google Ngram Viewer )