|
|
|
|
|
by pdkl95
3053 days ago
|
|
> So have predefined, approved functions that achieve 90% of required functionality, who's composition may not be TC. Aka declarative configuration, which we have already: HTML. Define new tags for if necessary. > Anything custom requires permission. You generate that server side. |
|
HTML cannot perform 90% of what JS is used for, otherwise the js wouldn't be needed. "Define new tags" might be one way, ala Angular directives, but it would still require notions of safety attached to those directives/functions.
> You generate that server side.
A server-side crypto miner? Websites/apps are increasingly client-side intensive/heavy. Perhaps there is no need for non-generic/safe client side code, but I'm not so sure. In any case, requiring permission to run anything custom would be a reasonable restriction I think.