Hacker News new | ask | show | jobs
by kulahan 2 hours ago
It feels like every week someone discovers that code closer to the metal is faster, and ignores the fact that it’s easier to write higher-level code, and that this is the specific tradeoff everyone is making. Why do these articles keep getting posted? Who is this a revelation to?
1 comments

I don't think of HTML as low level, and I don't think that writing "high-level" web (whatever that is? React?) would be any faster to develop or produce better results for his example.

If you looked at the gov.uk page [1] that he linked, it is clean and readable. It doesn't look hard to me to make, and I don't think it is lacking functionality.

I'll grant that writing web-apps without a framework is going to be harder for many people (especially with all the fancy features that are expected now days), but that is not the point of this writing. This is an argument that the web (especially government services) should be usable on limited devices too.

1 https://www.gov.uk/housing-benefit

The article and commenters are both complaining about JS in favor of HTML - I'm really just talking about it in this context.

Anyways, I disagree with the idea that we should make something simple enough for PSPs and car browsers. Just go to a library.