Ideas such as Geocentrism were widely accepted in historic times. Models and theories were set out by some of the most prolific scientists and/or philosophers of the time. Those with opposing ideas were ridiculed, often even killed. Now we have much evidence against these theories, showing clearly they were incorrect.
Was there a scientific flaw with the way the ideas were presented? What concepts do we have in place today where such flaws are outed and not regarded as science?
For example, the theory of evolution is widely accepted as a fact, as much as the theory of gravity is. Are these theories susceptible to similar discredit in the future?
Essentially I am looking for a counter-argument against the following statement:
"Many ideas such as geocentrism were widely accepted as fact through science, and now have been completely debunked. Evolution is another one of these cases."
Note: This is not a question about the contents of the theory of evolution, but about progression of scientific thinking that allow us to have more credible scientific theories.