Hacker News new | past | comments | ask | show | jobs | submit login

The possibility for HTML documents to support inline scripting was considered even prior to HTML 4[0]. The script tag itself is decades old now, it's supposed to be there and it's as legitimate an element as any other.

The web was never intended to only ever be static, nor is scripting in the browser somehow a corruption or aberration of the web's original purpose. If anything, the web should have been a lot more programmable[1] than it turned out to be.

[0]https://www.w3.org/TR/2018/SPSD-html32-20180315/#script

[1]https://eager.io/blog/a-brief-history-of-weird-scripting-lan...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: