cats have many points in favor, are quite independent, very intelligent and can be rid of pests ,personally, they are my favorites
but dogs also have good things, they are loyal, they always want to play and depending on the breed they can serve as protectors, although their constant need for attention is what makes them prefer cats
I guess it's up to each one to choose which one he likes best, or he can have both