News for hackers. Stuff that matters.
Re:PyPy.js – PyPy in Your Browser by bzbarsky on Monday November 09, 2015 @10:58PM (#10537545)
The main problem with the DOM API is that when used from JS it's a pain, because it was designed largely by people wanting to do DOM in XML documents in Java on the server side; the use on the web was considered less important at the time. Many of the resulting issues (e.g. lack of use of options objects when it would be appropriate, numeric "enums" etc), flow from this historical accident.

There are no comments on this comment yet.