Object-oriented programming is an exceptionally bad idea which could only have originated in California.
The best way to learn mathematics is to do mathematics.