Hacker News new | ask | show | jobs
by beebeepka 1798 days ago
Over engineering things is truly one of the biggest problems in our industry. It's been years and react still seems like an organized religious community to me. With many, many preachers.

Reminds me of all the "yaml is better than XML/JSON" examples where everything is carefully formatted in a way that make no sense unless you are trying to prove a point.

Part of me think we should just ignore html and just render everything using webgl/webvulkan/whatever instead of fighting the browser's flow. We're not there yet but things have been moving in that direction because it kind of makes sense

2 comments

What about accessibility? As far as I know canvases don't offer ways to expose the same semantic information about their contents as the DOM.
Yeah, they don't but perhaps the necessary meta could be generated as things are being rendered. It's certainly possible, though I haven't done any actual work on accessibility tools myself. I guess it's not a trivial problem to solve without breaking things here and there, otherwise someone would've done it already. Not impossible I'd think
Reimplementing everything the browser does within canvas. Speaking of over-engineering. Flutter 2, for example, can't even get scrolling right [0].

0 - https://gallery.flutter.dev/