preventive vs reactive

JavaScript
A proactive approach focuses on eliminating 
problems before they have a chance to appear
and a reactive approach is based on responding
to events after they have happened.
Source

Also in JavaScript: