The way I recall, they both wrote mysteries. John D. MacDonald's protagonist was Travis Magee, and Ross MacDonald's protagonist was Lew Archer. I would agree Ross was more along the hard boiled school--Hammet, Chandler and ect--but I wouldn't call them from different genres.