In the assembly world, putting vias directly  in surface mount pads is often not recommended. But for routing large or  fine-pitch BGAs, bypass capacitors, thermal management, and grounding on  high-frequency parts, via-in-pad can be an effective, if demanding, solution.