[Maupertuis] ... thus pointed to that remarkable analogy between optical and mechanical phenomena which was observed much earlier by John Bernoulli and which was later fully developed in Hamilton's ingenious optico-mechanical theory. This analogy played a fundamental role in the development of modern wave-mechanics.