I think it depends on what your purpose is. If we're measuring people as economic cogs, and those measurements are sent to other institutions, then I agree grades are very useful tools.
But in voluntary schools where you pursue your own interests (and not some certification), grades are so ineffectual that they're generally nonexistent. At least in my experience. Tests may corrected, but there isn't a grade. You just see what you did wrong. When you ask the teacher for more detailed feedback on your progress, they don't pull a number out of their butts, like "2.7". That whole grade infrastructure is for another reason.
As for "freeloading students," no one cares. (In these more voluntary forms of education.) It is your choice how much effort you deem appropriate.