Unobtrusive JavaScript

If you are a developer who is doing any amount of work with front-end JavaScript and you are unfamiliar with the term ‘Unobtrusive JavaScript’ please read these articles.

Our new entry level developer had a question about whether or not he should use the onclick attribute. I am glad he asked the question since I would have rejected his pull request anyway. I wanted to take a minute to make a quick PSA about it. Of course there are probably acceptable situation when you may want to use it though I would say they are probably few and far between. The above articles do a good job of explaining why.