Why don't we avoid self-interaction terms when we measure energy of a continuous charge distribution as we do for point charge distribution?
Confusion about calculating electrostatic energy using the electric field