The ridges on the side of a coin exist because when coins were made from precious metals, shaving some of the metal off would result in a very noticeable gap in those ridges. So the ridges prevent devaluation of coins by shaving (besides, government will devaluate them for you given enough time)