4 ms·
HTML is also much a more convenient encoding for content than writing on the canvas. It's fully declarative¹ and everything. Yet, plenty of people already pref
by marcosdumay 9y ago
HTML is also much a more convenient encoding for content than writing on the canvas. It's fully declarative¹ and everything.
Yet, plenty of people already prefer to send you a black page and manually write everything on the DOM's document. I certainly do not understand them, but they are way too common.
1 - You just write your content, and it's there. There isn't more declarative than that.
- goatlover 9y agoHTML isn't great for application code. That's the issue, and anyone targeting WASM and canvas would be looking to recreate desktop apps on the web, not traditional websites.
- marcosdumay 9y agoYes, it's bad for applications. But that does not explain why people send their text based pages as javascript.
- krapp 9y ago> But that does not explain why people send their text based pages as javascript. Probably because they're using front-end javascript frameworks which do that, and because they were taught that this is the best and most efficient way to render anything on the web. No one wants to make a special case for text because it seems inelegant.
- deleted 9y ago[deleted]
- goatlover 9y agoBut it's not the best and most efficient way to render everything. If you have a mostly static site, you don't need the front-end framework.