Many Rational Points: Coding Theory and Algebraic Geometry