Bored medieval philosophers speculated on how many angels could dance on the head of a pin. Bored modern philosophers peculate on string theory. Neither put forth experimentally testable hypotheses, so one is about as scientific as the other.
(It may not be math that applies to the real world, but math being math is eternally valid as long as the axioms hold... and sometimes you get surprising applications later on.)