Before I give you the answer, we need to understand more about the question. Most of us see hearing aids and glasses as similar things. Make sound louder so we can hear or magnify my vision so we can see. They help improve and recover the loss of awareness of our environment and our communication with others. The differences of how glasses and hearing aids work and this is the essence to the answer to which device provides the best compensation.
In hearing loss it is the nerves of the ear that get damage in most cases. Hearing aid technology must make sound audible, synchronize signals, eliminate or reduce noise, search out speech from other sounds, not over stimulate the nerve or cause more damage, match the needs of the individual hearing loss, and a host of other technologically difficult functions and do all this within milliseconds (1000 milliseconds = 1 second).
Comparing glasses to hearing aids is not scientifically sound. Glasses simply correct a defective magnifying glass (eye lens) and are a simple and winning solution to most vision correction, while hearing aids treat remaining and damage nerve cells requiring a colossal amount of technology and services in order to maximize individual hearing abilities. And the winner is both, but in different areas of science and medicine! To sum it up, hearing loss is much more difficult to correct because of the nerve damage. It is not sound to compare their capabilities, outcome, price, or the services needed to scientifically obtain the best results.