Hacker News new | past | comments | ask | show | jobs | submit login

That’s a very narrow view. Machine code is ran in one context – the CPU – with the compiler worrying about this one context. Meanwhile, HTML is parsed by much more than a browser.

Like the article says, there is literally zero drawback to being slightly more semantic. In fact, semantic HTML probably improves your own code, making it easier at a glance to see what components do.




> Meanwhile, HTML is parsed by much more than a browser.

Any examples?


Screen readers, braile readers, rss readers, search bots, voice assistants like Siri or Google Assistant, social media embeds....

Need more?

Future tech too. Who knows what's going to be consuming our content in the future, or what input and output devices we (or others) are going to be using to navigate content and apps.


Bots and email clients. Microsoft word. Libre Office.


and anyone still using an RSS reader. Anyone sharing something on Facebook or other social media, me when I'm trying to write an app to do something interesting for which there is no existing API.


Imagine a newscomer learn directly React and its abstraction to produce a website.

He actually did it without any knowledge of "real html".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: