Zone System
en.wikipedia.org
en.wikipedia.org
Digital sensors have different physical properties than film, namely that they clip to pure white rather than clip to pure black. (An overexposed digital picture may have no recoverable detail, while an underexposed film picture may have no recoverable detail. So for digital you want to err on the side of underexposing to capture all the highlight detail, whereas on film you want to err on the side of overexposure to capture shadow detail. Film is somewhat non-linear, too, further favoring overexposure. See also, "reciprocity failure".) So for digital, you aim towards making the brightest object in the scene pure white. You can also skip the zone system and just tune the exposure compensation until the histogram touches the right side. With a spot meter you can practically sample only a few points in the scene; with a digital camera's histogram, you can sample every pixel. Ansel Adams would have enjoyed that.
That said its good to have learned these concepts and have them in mind as it makes you a better shooter even in an auto-everything digital photo world.
For example understanding the gray level the camera meter is averaging for and how that impacts the exposure compensation if you are shooting say a bright white snow scene vs a dark blacks & grays street scene.
With newer mirrorless cameras, I can live view any overexposed highlights in the viewfinder and adjust from there.
With film, I'll shoot a second shot with an extra stop overexposed. Sometimes I'll even remember to compensate for the bellows draw.
There's a further nuance here... that depends on whether it's negative film or reversal (slide) film. Overexposed negs are better than underexposed, as you say, but the opposite is true for slides. People who shot "chrome" films would often underexpose by, say, half a step, while the opposite was true for those who shot negs.
There are some subtleties: Bruce Barnbaum argues you should expose shadows (where you want to keep details) to Zone IV:
* https://www.youtube.com/watch?v=rlnt5yFArWo
Then you take the negative and print it down to Zone III: you end up with more texture / separations.
Works great.