The dynamics of any classical-mechanics system can be formulated in the reparametrization-invariant (RI) form (that is we use the parametric representation for trajectories, ${bf x}={bf x}(tau)$, $t=t(tau)$ instead of ${bf x}={bf x}(t)$). In this pedagogical note we discuss what the quantization rules look like for the RI formulation of mechanics. We point out that in this case some of the rules acquire an intuitively clearer form. Hence the formulation could be an alternative starting point for teaching the basic principles of quantum mechanics. The advantages can be resumed as follows. a) In RI formulation both the temporal and the spatial coordinates are subject to quantization. b) The canonical Hamiltonian of RI formulation is proportional to the quantity $tilde H=p_t+H$, where $H$ is the Hamiltonian of the initial formulation. Due to the reparametrization invariance, the quantity $tilde H$ vanishes for any solution, $tilde H=0$. So the corresponding quantum-mechanical operator annihilates the wave function, $hat{tilde H}Psi=0$, which is precisely the Schrodinger equation $ihbarpartial_tPsi=hat HPsi$. As an illustration, we discuss quantum mechanics of the relativistic particle.