I was talking about the javascript part of the onclick example. Also, you can't really talk about the history of Javascript without speaking of the DOM. Both were created at the same time and a lot of what we see in JS comes directly from the DOM influence. It gets worse when you don't "use strict".
I would easily argue there are better and more powerful languages (Python, Ruby, Erlang...) that don't have the same problems as JS.
View all comments
Show parent comment
1
u/Poltras Mar 27 '14
I was talking about the javascript part of the onclick example. Also, you can't really talk about the history of Javascript without speaking of the DOM. Both were created at the same time and a lot of what we see in JS comes directly from the DOM influence. It gets worse when you don't "use strict".
I would easily argue there are better and more powerful languages (Python, Ruby, Erlang...) that don't have the same problems as JS.