Asking for advice is more effective, though, because it’s less overt. Rather than telling someone they’re great, asking them for advice shows that you hold them in high regard. That you think they’re smart and value their opinion.
Consequently, not only does asking for advice gather valuable insights, it also makes the asker seem more competent.