[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] WebGLSL Media Type Proposal



On Mon, May 21, 2012 at 9:13 PM, Thor Harald Johansen <thj@thj.no> wrote:
So, HTML5 basically approves of using SCRIPT tags for including data blocks. If anybody ever discourages this usage from now on, I'll just refer them to that paragraph.
Of course you can write anything into scripttags. That doesn't mean it's a bright Idea. The issues isn't that it wouldn't be allowed. The issues is that beginners see examples like that, and then start writing bigger apps, and suddenly they notice "heck, this is fucking unmaintainable" and then they have no clue how to do things, or that there would be an XHR that they can use, because going from <script>inline</script> to XHR is entirely non-obvious.