by gnu8 · 9y ago · 0 comments
PDFs execute code, DOC(X)s execute code.
Users want features: interactivity, automation of various bits, etc. Features = users = money. Money > anything (security, privacy, etc.).
That wouldn't give you Google maps, docs or gmail, but the vast majorit of SAAS products could have probably been created in one way or another with the restriction that no code could execute client side.
More and more pages that could have worked just fine now render as totally blank because client side frameworks are now being pushed from every angle. As an end user there is no clear advantage to this.
So, it wouldn't have given you three of the most important and useful applications in the modern world, used every day by millions of people.
Gmail could have been made to work (on the web) by the way, just not with such a spiffy interface, and maps probably as well.
Code execution by default in HTML documents is unusual.
The HTML <form> is all that is needed to conduct business. The web was created as documents+forms in the IBM 3270 model, which businesses and other other organizations were using since the 1970s.